aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/gspca.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-07-19 05:49:28 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-23 18:00:25 -0400
commitbb64e86c3ad55e70a8001d87c050fd3a82004d17 (patch)
tree67c6c4b2b7d0ff44d3c2f41daded9a4673107e87 /drivers/media/video/gspca/gspca.c
parent600176176101fc6e0e0c7468efa83203e8d3e015 (diff)
V4L/DVB (8436): gspca: Version number only in the main driver.
The version numbers of the subrivers will be removed as these ones will be changed for any other purpose. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/gspca/gspca.c')
-rw-r--r--drivers/media/video/gspca/gspca.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/media/video/gspca/gspca.c b/drivers/media/video/gspca/gspca.c
index 8170a6937b8c..8e8d3c6121b3 100644
--- a/drivers/media/video/gspca/gspca.c
+++ b/drivers/media/video/gspca/gspca.c
@@ -43,8 +43,7 @@ MODULE_AUTHOR("Jean-Francois Moine <http://moinejf.free.fr>");
43MODULE_DESCRIPTION("GSPCA USB Camera Driver"); 43MODULE_DESCRIPTION("GSPCA USB Camera Driver");
44MODULE_LICENSE("GPL"); 44MODULE_LICENSE("GPL");
45 45
46#define DRIVER_VERSION_NUMBER KERNEL_VERSION(2, 1, 7) 46#define DRIVER_VERSION_NUMBER KERNEL_VERSION(2, 2, 0)
47static const char version[] = "2.1.7";
48 47
49static int video_nr = -1; 48static int video_nr = -1;
50 49
@@ -1886,7 +1885,10 @@ EXPORT_SYMBOL(gspca_auto_gain_n_exposure);
1886/* -- module insert / remove -- */ 1885/* -- module insert / remove -- */
1887static int __init gspca_init(void) 1886static int __init gspca_init(void)
1888{ 1887{
1889 info("main v%s registered", version); 1888 info("main v%d.%d.%d registered",
1889 (DRIVER_VERSION_NUMBER >> 16) & 0xff,
1890 (DRIVER_VERSION_NUMBER >> 8) & 0xff,
1891 DRIVER_VERSION_NUMBER & 0xff);
1890 return 0; 1892 return 0;
1891} 1893}
1892static void __exit gspca_exit(void) 1894static void __exit gspca_exit(void)