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>
This commit is contained in:
H Hartley Sweeten 2010-07-23 11:38:41 -07:00 committed by Greg Kroah-Hartman
parent 14de72b0aa
commit 968181ca7e
1 changed files with 2 additions and 2 deletions

View 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;