From 968181ca7e679be70bd50b82665e1f369a856ec7 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Fri, 23 Jul 2010 11:38:41 -0700 Subject: [PATCH] Staging: dt3155: make module_{init/exit} functions static The module_init() and module_exit() functions should be static and marked with __init and __exit. Signed-off-by: H Hartley Sweeten Cc: Scott Smedley Signed-off-by: Greg Kroah-Hartman --- drivers/staging/dt3155/dt3155_drv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/dt3155/dt3155_drv.c b/drivers/staging/dt3155/dt3155_drv.c index 9e7b8809a2c8..73169968a1ff 100644 --- a/drivers/staging/dt3155/dt3155_drv.c +++ b/drivers/staging/dt3155/dt3155_drv.c @@ -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;