]> err.no Git - linux-2.6/commitdiff
[PATCH] scx200_acb: Mark scx200_acb_probe __init
authorJean Delvare <khali@linux-fr.org>
Mon, 12 Jun 2006 19:46:04 +0000 (21:46 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Jun 2006 18:10:35 +0000 (11:10 -0700)
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>
drivers/i2c/busses/scx200_acb.c

index 09b4586f3bd3854900945f09179f44b118e9a2cc..22a3eda04166e3b7841d0fd5c897aa16851b20fa 100644 (file)
@@ -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;