A small-sized camera module in which an adhesive does not flow in side
electrodes is provided. In the camera module according to the embodiment
of the invention, the adhesive does not flow in concave portions thanks
to a protection wall for covering top portions of the concave portions
formed on a substrate. Accordingly, the side electrodes formed in the
concave portions can be securely electrically connected to a contact or a
drawing substrate. A lower portion of a holder can be disposed adjacent
to the concave portions. Thus, the size of the substrate can be formed as
small as possible, so it is possible to obtain the small-sized camera
module.