Commit d6f13700 authored by Randy Dunlap's avatar Randy Dunlap Committed by James Bottomley

[PATCH] qla1280: driver_setup not __initdata

'driver_setup' cannot be __initdata if slave_configure() can be called
after driver-init:
Error: ./drivers/scsi/qla1280.o .text refers to 0000000000000fbf R_X86_64_PC32     .init.data+0x000000000000007b
Error: ./drivers/scsi/qla1280.o .text refers to 0000000000000fc9 R_X86_64_PC32     .init.data+0x000000000000007e
Error: ./drivers/scsi/qla1280.o .text refers to 0000000000000fea R_X86_64_PC32     .init.data+0x000000000000007b
Error: ./drivers/scsi/qla1280.o .text refers to 0000000000000ff4 R_X86_64_PC32     .init.data+0x0000000000000080
Error: ./drivers/scsi/qla1280.o .text refers to 0000000000001039 R_X86_64_PC32     .init.data+0x000000000000007b
Error: ./drivers/scsi/qla1280.o .text refers to 0000000000001043 R_X86_64_PC32     .init.data+0x0000000000000082
Signed-off-by: default avatarRandy Dunlap <rddunlap@osdl.org>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent e3b95b2d
...@@ -549,7 +549,7 @@ static void qla1280_get_target_parameters(struct scsi_qla_host *, ...@@ -549,7 +549,7 @@ static void qla1280_get_target_parameters(struct scsi_qla_host *,
static int qla1280_set_target_parameters(struct scsi_qla_host *, int, int); static int qla1280_set_target_parameters(struct scsi_qla_host *, int, int);
static struct qla_driver_setup driver_setup __initdata; static struct qla_driver_setup driver_setup;
/* /*
* convert scsi data direction to request_t control flags * convert scsi data direction to request_t control flags
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment