Commit d8992b09 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] em28xx: unify module version

Use the same module version on all em28xx sub-modules, and use
the same naming convention to describe the driver.
Reviewed-by: default avatarFrank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent b99f0aad
...@@ -747,7 +747,8 @@ static void __exit em28xx_alsa_unregister(void) ...@@ -747,7 +747,8 @@ static void __exit em28xx_alsa_unregister(void)
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_AUTHOR("Markus Rechberger <mrechberger@gmail.com>"); MODULE_AUTHOR("Markus Rechberger <mrechberger@gmail.com>");
MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>"); MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>");
MODULE_DESCRIPTION("Em28xx Audio driver"); MODULE_DESCRIPTION(DRIVER_DESC " - audio interface");
MODULE_VERSION(EM28XX_VERSION);
module_init(em28xx_alsa_register); module_init(em28xx_alsa_register);
module_exit(em28xx_alsa_unregister); module_exit(em28xx_alsa_unregister);
...@@ -38,8 +38,6 @@ ...@@ -38,8 +38,6 @@
"Mauro Carvalho Chehab <mchehab@infradead.org>, " \ "Mauro Carvalho Chehab <mchehab@infradead.org>, " \
"Sascha Sommer <saschasommer@freenet.de>" "Sascha Sommer <saschasommer@freenet.de>"
#define DRIVER_DESC "Empia em28xx based USB core driver"
MODULE_AUTHOR(DRIVER_AUTHOR); MODULE_AUTHOR(DRIVER_AUTHOR);
MODULE_DESCRIPTION(DRIVER_DESC); MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
......
...@@ -54,9 +54,11 @@ ...@@ -54,9 +54,11 @@
#include "m88ds3103.h" #include "m88ds3103.h"
#include "m88ts2022.h" #include "m88ts2022.h"
MODULE_DESCRIPTION("driver for em28xx based DVB cards");
MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@infradead.org>"); MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@infradead.org>");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_DESCRIPTION(DRIVER_DESC " - digital TV interface");
MODULE_VERSION(EM28XX_VERSION);
static unsigned int debug; static unsigned int debug;
module_param(debug, int, 0644); module_param(debug, int, 0644);
......
...@@ -836,7 +836,8 @@ static void __exit em28xx_rc_unregister(void) ...@@ -836,7 +836,8 @@ static void __exit em28xx_rc_unregister(void)
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>"); MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>");
MODULE_DESCRIPTION("Em28xx Input driver"); MODULE_DESCRIPTION(DRIVER_DESC " - input interface");
MODULE_VERSION(EM28XX_VERSION);
module_init(em28xx_rc_register); module_init(em28xx_rc_register);
module_exit(em28xx_rc_unregister); module_exit(em28xx_rc_unregister);
...@@ -50,8 +50,6 @@ ...@@ -50,8 +50,6 @@
"Mauro Carvalho Chehab <mchehab@infradead.org>, " \ "Mauro Carvalho Chehab <mchehab@infradead.org>, " \
"Sascha Sommer <saschasommer@freenet.de>" "Sascha Sommer <saschasommer@freenet.de>"
#define DRIVER_DESC "Empia em28xx based USB video device driver"
static unsigned int isoc_debug; static unsigned int isoc_debug;
module_param(isoc_debug, int, 0644); module_param(isoc_debug, int, 0644);
MODULE_PARM_DESC(isoc_debug, "enable debug messages [isoc transfers]"); MODULE_PARM_DESC(isoc_debug, "enable debug messages [isoc transfers]");
...@@ -78,7 +76,7 @@ do {\ ...@@ -78,7 +76,7 @@ do {\
} while (0) } while (0)
MODULE_AUTHOR(DRIVER_AUTHOR); MODULE_AUTHOR(DRIVER_AUTHOR);
MODULE_DESCRIPTION(DRIVER_DESC); MODULE_DESCRIPTION(DRIVER_DESC " - v4l2 interface");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_VERSION(EM28XX_VERSION); MODULE_VERSION(EM28XX_VERSION);
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#define _EM28XX_H #define _EM28XX_H
#define EM28XX_VERSION "0.2.1" #define EM28XX_VERSION "0.2.1"
#define DRIVER_DESC "Empia em28xx device driver"
#include <linux/workqueue.h> #include <linux/workqueue.h>
#include <linux/i2c.h> #include <linux/i2c.h>
......
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