Staging: dt3155: make module_{init/exit} functions static
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 23 Jul 2010 18:38:41 +0000 (11:38 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Jul 2010 22:34:04 +0000 (15:34 -0700)
The module_init() and module_exit() functions should be static and marked
with __init and __exit.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Scott Smedley <ss@aao.gov.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/dt3155/dt3155_drv.c

index 9e7b8809a2c872a10055a96a117f799af9ac7ace..73169968a1ff5f4442d860b466aa3c341e03d4e4 100644 (file)
@@ -940,7 +940,7 @@ err:
 u32 allocatorAddr = 0;
 
 
-int dt3155_init(void)
+static int __init dt3155_init(void)
 {
   struct dt3155_status *dts;
   int index;
@@ -1059,7 +1059,7 @@ int dt3155_init(void)
   return 0;
 }
 
-void dt3155_exit(void)
+static void __exit dt3155_exit(void)
 {
   struct dt3155_status *dts;
   int index;
This page took 0.027458 seconds and 5 git commands to generate.