mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
cciss: section mismatch
Mark cciss_pci_init() as __devinit, to fix section mismatch warning. WARNING: vmlinux.o(.text+0x601fc9): Section mismatch: reference to .init.text: (between 'cciss_pci_init' and 'cciss_getgeometry') Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: <mike.miller@hp.com> Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
4c993f7669
commit
7d1fd970e4
1 changed files with 1 additions and 1 deletions
|
@ -2927,7 +2927,7 @@ default_int_mode:
|
|||
return;
|
||||
}
|
||||
|
||||
static int cciss_pci_init(ctlr_info_t *c, struct pci_dev *pdev)
|
||||
static int __devinit cciss_pci_init(ctlr_info_t *c, struct pci_dev *pdev)
|
||||
{
|
||||
ushort subsystem_vendor_id, subsystem_device_id, command;
|
||||
__u32 board_id, scratchpad = 0;
|
||||
|
|
Loading…
Reference in a new issue