Message ID | 1540481375-15952-4-git-send-email-stefan.wahren@i2se.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | staging: vc04_services: Improve driver load/unload | expand |
On Thu, Oct 25, 2018 at 4:30 PM Stefan Wahren <stefan.wahren@i2se.com> wrote: > > In order to have this more consistent between the vc04 services move > the module information to the end of the file. > > Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Reviewed-by: Peter Robinson <pbrobinson@gmail.com> Tested-by: Peter Robinson <pbrobinson@gmail.com> Tested with a v2 camera module. > --- > .../staging/vc04_services/bcm2835-camera/bcm2835-camera.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c b/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c > index 7d3222c..cd773eb 100644 > --- a/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c > +++ b/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c > @@ -43,12 +43,6 @@ > > #define MAX_BCM2835_CAMERAS 2 > > -MODULE_DESCRIPTION("Broadcom 2835 MMAL video capture"); > -MODULE_AUTHOR("Vincent Sanders"); > -MODULE_LICENSE("GPL"); > -MODULE_VERSION(BM2835_MMAL_VERSION); > -MODULE_ALIAS("platform:bcm2835-camera"); > - > int bcm2835_v4l2_debug; > module_param_named(debug, bcm2835_v4l2_debug, int, 0644); > MODULE_PARM_DESC(bcm2835_v4l2_debug, "Debug level 0-2"); > @@ -1976,3 +1970,9 @@ static struct platform_driver bcm2835_camera_driver = { > }; > > module_platform_driver(bcm2835_camera_driver) > + > +MODULE_DESCRIPTION("Broadcom 2835 MMAL video capture"); > +MODULE_AUTHOR("Vincent Sanders"); > +MODULE_LICENSE("GPL"); > +MODULE_VERSION(BM2835_MMAL_VERSION); > +MODULE_ALIAS("platform:bcm2835-camera"); > -- > 2.7.4 >
diff --git a/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c b/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c index 7d3222c..cd773eb 100644 --- a/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c +++ b/drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c @@ -43,12 +43,6 @@ #define MAX_BCM2835_CAMERAS 2 -MODULE_DESCRIPTION("Broadcom 2835 MMAL video capture"); -MODULE_AUTHOR("Vincent Sanders"); -MODULE_LICENSE("GPL"); -MODULE_VERSION(BM2835_MMAL_VERSION); -MODULE_ALIAS("platform:bcm2835-camera"); - int bcm2835_v4l2_debug; module_param_named(debug, bcm2835_v4l2_debug, int, 0644); MODULE_PARM_DESC(bcm2835_v4l2_debug, "Debug level 0-2"); @@ -1976,3 +1970,9 @@ static struct platform_driver bcm2835_camera_driver = { }; module_platform_driver(bcm2835_camera_driver) + +MODULE_DESCRIPTION("Broadcom 2835 MMAL video capture"); +MODULE_AUTHOR("Vincent Sanders"); +MODULE_LICENSE("GPL"); +MODULE_VERSION(BM2835_MMAL_VERSION); +MODULE_ALIAS("platform:bcm2835-camera");
In order to have this more consistent between the vc04 services move the module information to the end of the file. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> --- .../staging/vc04_services/bcm2835-camera/bcm2835-camera.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)