Fix section missmatch
Subsystems (3)
LD drivers/net/built-in.o
WARNING: drivers/net/built-in.o(.text+0x3468): Section mismatch in reference fro m the function ioc3_probe() to the function .devinit.text:ioc3_serial_probe() The function ioc3_probe() references
the function __devinit ioc3_serial_probe().
This is often because ioc3_probe lacks a __devinit
annotation or the annotation of ioc3_serial_probe is wrong.
---
Resend, this time with Jeff's address corrected.
drivers/net/ioc3-eth.c +2 -1
@@ -1221,7 +1221,8 @@ static void __devinit ioc3_serial_probe(struct pci_dev *pdev, struct ioc3 *ioc3) }#endif -static int ioc3_probe (struct pci_dev *pdev,const struct pci_device_id *ent) +static int __devinit ioc3_probe (struct pci_dev *pdev, +const struct pci_device_id *ent) {unsigned int sw_physid1, sw_physid2;struct net_device *dev =NULL ;
----- End forwarded message -----
Ralf
Jeff Garzik
AppliedQuoted 11 lines · Ralf Baechle
LD
drivers/net/built-in.o
WARNING: drivers/net/built-in.o(.text+0x3468): Section mismatch in reference fro
m the functionioc3_probe()to the function .devinit.text:ioc3_serial_probe()
The functionioc3_probe()references
the function__devinitioc3_serial_probe().
This is often becauseioc3_probelacks a__devinitannotation or the annotation ofioc3_serial_probeis wrong.Signed-off-by Ralf Baechle <[email protected]>---
Resend, this time with Jeff's address corrected.
applied