A motor (20, 40, 50, 60, 70, 80) for a camera module, comprising a base (21, 41, 51, 61, 71, 81), a support base (23, 43, 53, 63, 73, 83), and a shape memory alloy actuator, wherein the shape memory alloy actuator is fixedly connected between the base and the support base (23, 43, 53, 63, 73, 83), and the shape memory alloy actuator is configured to drive the support base (23, 43, 53, 63, 73, 83) to move relative to the base to perform auto-focus and image stabilization; and the motor (20, 40, 50, 60, 70, 80) further comprises an eccentricity-prevention magnetic assembly (27, 47, 57), the eccentricity-prevention magnetic assembly (27, 47, 57) comprises a first eccentricity-prevention member (271, 471, 571, 771, 871) and a second eccentricity-prevention member (273, 473, 573, 773, 873), the first eccentricity-prevention member (271, 471, 571, 771, 871) is disposed on the base (21, 41, 51, 61, 71, 81), the second eccentricity-prevention member (273, 473, 573, 773, 873) is disposed on the support base (23, 43, 53, 63, 73, 83), and when the motor (20, 40, 50, 60, 70, 80) is in a powered-off state, a first central axis of the base (21, 41, 51, 61, 71, 81) coincides with a second central axis of the support base (23, 43, 53, 63, 73, 83) under the action of magnetostatic forces between the first eccentricity-prevention member (271, 471, 571, 771, 871) and the second eccentricity-prevention member (273, 473, 573, 773, 873), characterised in that the base (21, 41, 51, 61, 71, 81) has a first limiting portion (213, 513), the first limiting portion (213, 513) is provided with a limiting groove (2131, 5131, 7131, 8131), the support base (23, 43, 53, 63, 73, 83) has a second limiting portion (233, 533), and the second limiting portion (233, 533) is accommodated in the limiting groove (2131, 5131, 7131, 8131) of the first limiting portion (213, 513), and wherein the base (21, 41, 51, 61, 71, 81) further comprises a baseplate (211, 411, 511, 611, 711), the first limiting portion (213, 513) protrudes from the baseplate (211, 411, 511, 611, 711), the baseplate (211, 411, 511, 611, 711) is provided with a first accommodating hole corresponding to the second limiting portion (233, 533), the first eccentricity-prevention member (271, 471, 571, 771, 871) is accommodated in the first accommodating hole, the second eccentricity-prevention member (273, 473, 573, 773, 873) is disposed on the second limiting portion (233, 533), the first eccentricity-prevention member (271, 471, 571, 771, 871) and the second eccentricity-prevention member (273, 473, 573, 773, 873) have magnetostatic forces of attraction therebetween, and when the motor (20, 40, 50, 60, 70, 80) is in a powered-off state, a side of the second limiting portion (233, 533) facing the baseplate (211, 411, 511, 611, 711) fits together with the baseplate (211, 411, 511, 611, 711). the motor (20, 40, 50, 60, 70, 80) further comprises an eccentricity-prevention magnetic assembly (27, 47, 57), the eccentricity-prevention magnetic assembly (27, 47, 57) comprises a first eccentricity-prevention member (271, 471, 571, 771, 871) and a second eccentricity-prevention member (273, 473, 573, 773, 873), the first eccentricity-prevention member (271, 471, 571, 771, 871) is disposed on the base (21, 41, 51, 61, 71, 81), the second eccentricity-prevention member (273, 473, 573, 773, 873) is disposed on the support base (23, 43, 53, 63, 73, 83), and when the motor (20, 40, 50, 60, 70, 80) is in a powered-off state, a first central axis of the base (21, 41, 51, 61, 71, 81) coincides with a second central axis of the support base (23, 43, 53, 63, 73, 83) under the action of magnetostatic forces between the first eccentricity-prevention member (271, 471, 571, 771, 871) and the second eccentricity-prevention member (273, 473, 573, 773, 873), characterised in that the base (21, 41, 51, 61, 71, 81) has a first limiting portion (213, 513), the first limiting portion (213, 513) is provided with a limiting groove (2131, 5131, 7131, 8131), the support base (23, 43, 53, 63, 73, 83) has a second limiting portion (233, 533), and the second limiting portion (233, 533) is accommodated in the limiting groove (2131, 5131, 7131, 8131) of the first limiting portion (213, 513), and wherein the base (21, 41, 51, 61, 71, 81) further comprises a baseplate (211, 411, 511, 611, 711), the first limiting portion (213, 513) protrudes from the baseplate (211, 411, 511, 611, 711), the baseplate (211, 411, 511, 611, 711) is provided with a first accommodating hole corresponding to the second limiting portion (233, 533), the first eccentricity-prevention member (271, 471, 571, 771, 871) is accommodated in the first accommodating hole, the second eccentricity-prevention member (273, 473, 573, 773, 873) is disposed on the second limiting portion (233, 533), the first eccentricity-prevention member (271, 471, 571, 771, 871) and the second eccentricity-prevention member (273, 473, 573, 773, 873) have magnetostatic forces of attraction therebetween, and when the motor (20, 40, 50, 60, 70, 80) is in a powered-off state, a side of the second limiting portion (233, 533) facing the baseplate (211, 411, 511, 611, 711) fits together with the baseplate (211, 411, 511, 611, 711).