hpsa: fix hpsa_pci_init section mismatch
Subsystems (2)
PATCH 1/1 hpsa: fix hpsa_pci_init section mismatch
From: Jeff Mahoney <[email protected]>
hpsa_pci_init() calls hpsa_interrupt_mode() which is a __devinit function.
hpsa_pci_init() is only called by hpsa_init_one() which is also__devinit, so mark it __devinit as well.
Signed-off-by Jeff Mahoney <[email protected]>
Cc James Bottomley <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/scsi/hpsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/hpsa.c renamed from drivers/scsi/hpsa.c~drivers-scsi-hpsac-fix-section-mismatch +1 -1
@@ -3111,7 +3111,7 @@ default_int_mode:return ; } -static int hpsa_pci_init (struct ctlr_info *h,struct pci_dev *pdev) +static int __devinit hpsa_pci_init (struct ctlr_info *h,struct pci_dev *pdev) {ushort subsystem_vendor_id, subsystem_device_id, command;__u32 board_id, scratchpad =0 ;
_