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>
This commit is contained in:
@@ -138,7 +138,7 @@ static unsigned short ali1535_smba;
|
||||
Note the differences between kernels with the old PCI BIOS interface and
|
||||
newer kernels with the real PCI interface. In compat.h some things are
|
||||
defined to make the transition easier. */
|
||||
static int ali1535_setup(struct pci_dev *dev)
|
||||
static int __devinit ali1535_setup(struct pci_dev *dev)
|
||||
{
|
||||
int retval = -ENODEV;
|
||||
unsigned char temp;
|
||||
|
Reference in New Issue
Block a user