A camera module includes a lens, a lens barrel, a lens holder, a circuit
board, an image sensor, and an elastic member. The lens barrel receives
the lens therein and includes a flange protruding over the lens barrel.
The lens holder is affixed to the circuit board to receive the image
sensor therein. The elastic member is disposed between the lens barrel
and the lens holder. A rim is formed on the lens holder. The elastic
member has one end contacting the rim of the lens holder and the opposite
end contacting the flange. The elastic member biases the lens barrel
against the image sensor.