Commit 968181ca authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

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: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Scott Smedley <ss@aao.gov.au>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 14de72b0
......@@ -940,7 +940,7 @@ static int find_PCI (void)
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment