Commit 4f566194 authored by Eric Anholt's avatar Eric Anholt Committed by Greg Kroah-Hartman

staging: bcm2835-camera: Fix module section mismatch warnings.

Noticed by Stephen Rothwell in -next.
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Fixes: 4bebb031 ("staging/bcm2835-camera: Set ourselves up as a platform driver.")
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 21f4bb87
...@@ -1548,7 +1548,7 @@ static int set_camera_parameters(struct vchiq_mmal_instance *instance, ...@@ -1548,7 +1548,7 @@ static int set_camera_parameters(struct vchiq_mmal_instance *instance,
#define MAX_SUPPORTED_ENCODINGS 20 #define MAX_SUPPORTED_ENCODINGS 20
/* MMAL instance and component init */ /* MMAL instance and component init */
static int __init mmal_init(struct bm2835_mmal_dev *dev) static int mmal_init(struct bm2835_mmal_dev *dev)
{ {
int ret; int ret;
struct mmal_es_format_local *format; struct mmal_es_format_local *format;
...@@ -1756,7 +1756,7 @@ static int __init mmal_init(struct bm2835_mmal_dev *dev) ...@@ -1756,7 +1756,7 @@ static int __init mmal_init(struct bm2835_mmal_dev *dev)
return ret; return ret;
} }
static int __init bm2835_mmal_init_device(struct bm2835_mmal_dev *dev, static int bm2835_mmal_init_device(struct bm2835_mmal_dev *dev,
struct video_device *vfd) struct video_device *vfd)
{ {
int ret; int ret;
...@@ -1836,7 +1836,7 @@ static struct v4l2_format default_v4l2_format = { ...@@ -1836,7 +1836,7 @@ static struct v4l2_format default_v4l2_format = {
.fmt.pix.sizeimage = 1024 * 768, .fmt.pix.sizeimage = 1024 * 768,
}; };
static int __init bcm2835_mmal_probe(struct platform_device *pdev) static int bcm2835_mmal_probe(struct platform_device *pdev)
{ {
int ret; int ret;
struct bm2835_mmal_dev *dev; struct bm2835_mmal_dev *dev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment