mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-30 15:44:13 +08: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
@ -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 New Issue
Block a user