diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-12-06 17:06:23 +0100 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-12-06 17:06:23 +0100 |
commit | abe38388e50f4d89726fd0c0cceea61563c7026b (patch) | |
tree | 9f0594bf404691f5b1c0bf81f9c56d8ed802edb7 /drivers/i2c/busses/i2c-ali15x3.c | |
parent | da44bdeb95ea75eec263f42f7703bbf14f004f6a (diff) | |
download | op-kernel-dev-abe38388e50f4d89726fd0c0cceea61563c7026b.zip op-kernel-dev-abe38388e50f4d89726fd0c0cceea61563c7026b.tar.gz |
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-ali15x3.c')
-rw-r--r-- | drivers/i2c/busses/i2c-ali15x3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-ali15x3.c b/drivers/i2c/busses/i2c-ali15x3.c index d627fce..e7e3205 100644 --- a/drivers/i2c/busses/i2c-ali15x3.c +++ b/drivers/i2c/busses/i2c-ali15x3.c @@ -131,7 +131,7 @@ MODULE_PARM_DESC(force_addr, static struct pci_driver ali15x3_driver; static unsigned short ali15x3_smba; -static int ali15x3_setup(struct pci_dev *ALI15X3_dev) +static int __devinit ali15x3_setup(struct pci_dev *ALI15X3_dev) { u16 a; unsigned char temp; |