A motor for a camera module , comprising a base , a support base , and a shape memory alloy actuator , wherein the shape memory alloy actuator is fixedly connected between the base and the support base , and the shape memory alloy actuator is configured to drive the support base to move relative to the base to perform auto-focus and image stabilization; and the motor further comprises an eccentricity-prevention magnetic assembly , the eccentricity-prevention magnetic assembly comprises a first eccentricity-prevention member and a second eccentricity-prevention member , the first eccentricity-prevention member is disposed on the base , the second eccentricity-prevention member is disposed on the support base , and when the motor is in a powered-off state, a first central axis of the base coincides with a second central axis of the support base under the action of magnetostatic forces between the first eccentricity-prevention member and the second eccentricity-prevention member , characterised in that the base has a first limiting portion , the first limiting portion is provided with a limiting groove , the support base has a second limiting portion , and the second limiting portion is accommodated in the limiting groove of the first limiting portion , and wherein the base further comprises a baseplate , the first limiting portion protrudes from the baseplate , the baseplate is provided with a first accommodating hole corresponding to the second limiting portion , the first eccentricity-prevention member is accommodated in the first accommodating hole, the second eccentricity-prevention member is disposed on the second limiting portion , the first eccentricity-prevention member and the second eccentricity-prevention member have magnetostatic forces of attraction therebetween, and when the motor is in a powered-off state, a side of the second limiting portion facing the baseplate fits together with the baseplate . the motor further comprises an eccentricity-prevention magnetic assembly , the eccentricity-prevention magnetic assembly comprises a first eccentricity-prevention member and a second eccentricity-prevention member , the first eccentricity-prevention member is disposed on the base , the second eccentricity-prevention member is disposed on the support base , and when the motor is in a powered-off state, a first central axis of the base coincides with a second central axis of the support base under the action of magnetostatic forces between the first eccentricity-prevention member and the second eccentricity-prevention member , characterised in that the base has a first limiting portion , the first limiting portion is provided with a limiting groove , the support base has a second limiting portion , and the second limiting portion is accommodated in the limiting groove of the first limiting portion , and wherein the base further comprises a baseplate , the first limiting portion protrudes from the baseplate , the baseplate is provided with a first accommodating hole corresponding to the second limiting portion , the first eccentricity-prevention member is accommodated in the first accommodating hole, the second eccentricity-prevention member is disposed on the second limiting portion , the first eccentricity-prevention member and the second eccentricity-prevention member have magnetostatic forces of attraction therebetween, and when the motor is in a powered-off state, a side of the second limiting portion facing the baseplate fits together with the baseplate . <EOS>