Add missing static and __devinit markers to setup functions.

Backport from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-2.10@5808 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2009-12-09 09:00:04 +00:00
1 parent 491730ad14
commit 5caa214052
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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;