mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
[SCSI] mac_scsi: macscsi_detect() should be __init
WARNING: vmlinux.o(.text+0x1ecd3e): Section mismatch in reference from the function macscsi_detect() to the function .devinit.text:NCR5380_init() WARNING: vmlinux.o(.text+0x1ecddc): Section mismatch in reference from the function macscsi_detect() to the function .init.text:NCR5380_print_options() WARNING: vmlinux.o(.text+0x1ece60): Section mismatch in reference from the function macscsi_detect() to the function .init.text:NCR5380_print_options() Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:
parent
6323e4fe7f
commit
70c26cf327
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ static struct Scsi_Host *default_instance;
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int macscsi_detect(struct scsi_host_template * tpnt)
|
int __init macscsi_detect(struct scsi_host_template * tpnt)
|
||||||
{
|
{
|
||||||
static int called = 0;
|
static int called = 0;
|
||||||
int flags = 0;
|
int flags = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue