瀏覽代碼

[PATCH] scx200_acb: Mark scx200_acb_probe __init

In i2c bus driver scx200_acb, function scx200_acb_probe can be
tagged __init.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Jean Delvare 19 年之前
父節點
當前提交
9917392608
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/i2c/busses/scx200_acb.c

+ 1 - 1
drivers/i2c/busses/scx200_acb.c

@@ -384,7 +384,7 @@ static struct i2c_algorithm scx200_acb_algorithm = {
 static struct scx200_acb_iface *scx200_acb_list;
 static DECLARE_MUTEX(scx200_acb_list_mutex);
 
-static int scx200_acb_probe(struct scx200_acb_iface *iface)
+static __init int scx200_acb_probe(struct scx200_acb_iface *iface)
 {
 	u8 val;