提交 968181ca 编写于 作者: H H Hartley Sweeten 提交者: 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: NH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Scott Smedley <ss@aao.gov.au>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册