summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-sis5595.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-12-06 17:06:23 +0100
committerJean Delvare <khali@linux-fr.org>2009-12-06 17:06:23 +0100
commitabe38388e50f4d89726fd0c0cceea61563c7026b (patch)
tree9f0594bf404691f5b1c0bf81f9c56d8ed802edb7 /drivers/i2c/busses/i2c-sis5595.c
parentda44bdeb95ea75eec263f42f7703bbf14f004f6a (diff)
downloadblackbird-op-linux-abe38388e50f4d89726fd0c0cceea61563c7026b.tar.gz
blackbird-op-linux-abe38388e50f4d89726fd0c0cceea61563c7026b.zip
i2c: Add missing __devinit markers to old i2c adapter drivers
These _setup functions are called from _probe so they can be marked __devinit. Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-sis5595.c')
-rw-r--r--drivers/i2c/busses/i2c-sis5595.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-sis5595.c b/drivers/i2c/busses/i2c-sis5595.c
index 139f0c7f12a4..844569f7d8b7 100644
--- a/drivers/i2c/busses/i2c-sis5595.c
+++ b/drivers/i2c/busses/i2c-sis5595.c
@@ -142,7 +142,7 @@ static void sis5595_write(u8 reg, u8 data)
outb(data, sis5595_base + SMB_DAT);
}
-static int sis5595_setup(struct pci_dev *SIS5595_dev)
+static int __devinit sis5595_setup(struct pci_dev *SIS5595_dev)
{
u16 a;
u8 val;
OpenPOWER on IntegriCloud