diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2010-07-23 11:38:41 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-26 15:34:04 -0700 |
commit | 968181ca7e679be70bd50b82665e1f369a856ec7 (patch) | |
tree | 0f127ca5ffeb72da6010caf360f6703499061afe | |
parent | 14de72b0aa56e20f24f9ecc1a449da1ed4fd5cda (diff) |
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 <hsweeten@visionengravers.com>
Cc: Scott Smedley <ss@aao.gov.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/dt3155/dt3155_drv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/dt3155/dt3155_drv.c b/drivers/staging/dt3155/dt3155_drv.c index 9e7b8809a2c..73169968a1f 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; |