Skip to contentSkip to conversation

scx200_acb: Mark scx200_acb_probe __init

PATCH New Jean Delvare 1 participant 1 message Jun 12, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 4/14 scx200_acb: Mark scx200_acb_probe __init

Content-Disposition: inline; filename=i2c-scx200_acb-mark-scx200_acb_probe-init.patch

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

Signed-off-by Jean Delvare <khali at linux-fr.org>
---
 drivers/i2c/busses/scx200_acb.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/busses/scx200_acb.c +1 -1
@@ -384,7 +384,7 @@
 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;
 
Signature · 1 line
Jean Delvare