diff options
-rw-r--r-- | kernel/busses/i2c-ali1535.c | 2 | ||||
-rw-r--r-- | kernel/busses/i2c-ali15x3.c | 2 | ||||
-rw-r--r-- | kernel/busses/i2c-sis5595.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/kernel/busses/i2c-ali1535.c b/kernel/busses/i2c-ali1535.c index ca3d15b3..7038a61e 100644 --- a/kernel/busses/i2c-ali1535.c +++ b/kernel/busses/i2c-ali1535.c @@ -145,7 +145,7 @@ static unsigned short ali1535_smba = 0; 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. */ -int ali1535_setup(struct pci_dev *ALI1535_dev) +static int __devinit ali1535_setup(struct pci_dev *ALI1535_dev) { int error_return = 0; unsigned char temp; diff --git a/kernel/busses/i2c-ali15x3.c b/kernel/busses/i2c-ali15x3.c index 19c40207..2c507f2d 100644 --- a/kernel/busses/i2c-ali15x3.c +++ b/kernel/busses/i2c-ali15x3.c @@ -136,7 +136,7 @@ MODULE_PARM_DESC(force_addr, static struct pci_driver ali15x3_driver; static unsigned short ali15x3_smba = 0; -static int ali15x3_setup(struct pci_dev *ALI15X3_dev) +static int __devinit ali15x3_setup(struct pci_dev *ALI15X3_dev) { u16 a; unsigned char temp; diff --git a/kernel/busses/i2c-sis5595.c b/kernel/busses/i2c-sis5595.c index 6c729ce7..15cb6cf7 100644 --- a/kernel/busses/i2c-sis5595.c +++ b/kernel/busses/i2c-sis5595.c @@ -154,7 +154,7 @@ static void sis5595_write(u8 reg, u8 data) 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. */ -int sis5595_setup(struct pci_dev *SIS5595_dev) +static int __devinit sis5595_setup(struct pci_dev *SIS5595_dev) { u16 a; u8 val; |