浏览代码

gpio: staticize xway_stp_init()

This initcall is only called from the driver itself, staticize it.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Linus Walleij 11 年之前
父节点
当前提交
afdadc06df
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/gpio/gpio-stp-xway.c

+ 1 - 1
drivers/gpio/gpio-stp-xway.c

@@ -292,7 +292,7 @@ static struct platform_driver xway_stp_driver = {
 	},
 };
 
-int __init xway_stp_init(void)
+static int __init xway_stp_init(void)
 {
 	return platform_driver_register(&xway_stp_driver);
 }