diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_attr.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_attr.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c index 8081b637d97e..96587253bfa9 100644 --- a/drivers/scsi/qla2xxx/qla_attr.c +++ b/drivers/scsi/qla2xxx/qla_attr.c | |||
@@ -73,7 +73,6 @@ static struct bin_attribute sysfs_fw_dump_attr = { | |||
73 | .attr = { | 73 | .attr = { |
74 | .name = "fw_dump", | 74 | .name = "fw_dump", |
75 | .mode = S_IRUSR | S_IWUSR, | 75 | .mode = S_IRUSR | S_IWUSR, |
76 | .owner = THIS_MODULE, | ||
77 | }, | 76 | }, |
78 | .size = 0, | 77 | .size = 0, |
79 | .read = qla2x00_sysfs_read_fw_dump, | 78 | .read = qla2x00_sysfs_read_fw_dump, |
@@ -149,7 +148,6 @@ static struct bin_attribute sysfs_nvram_attr = { | |||
149 | .attr = { | 148 | .attr = { |
150 | .name = "nvram", | 149 | .name = "nvram", |
151 | .mode = S_IRUSR | S_IWUSR, | 150 | .mode = S_IRUSR | S_IWUSR, |
152 | .owner = THIS_MODULE, | ||
153 | }, | 151 | }, |
154 | .size = 512, | 152 | .size = 512, |
155 | .read = qla2x00_sysfs_read_nvram, | 153 | .read = qla2x00_sysfs_read_nvram, |
@@ -198,7 +196,6 @@ static struct bin_attribute sysfs_optrom_attr = { | |||
198 | .attr = { | 196 | .attr = { |
199 | .name = "optrom", | 197 | .name = "optrom", |
200 | .mode = S_IRUSR | S_IWUSR, | 198 | .mode = S_IRUSR | S_IWUSR, |
201 | .owner = THIS_MODULE, | ||
202 | }, | 199 | }, |
203 | .size = OPTROM_SIZE_24XX, | 200 | .size = OPTROM_SIZE_24XX, |
204 | .read = qla2x00_sysfs_read_optrom, | 201 | .read = qla2x00_sysfs_read_optrom, |
@@ -279,7 +276,6 @@ static struct bin_attribute sysfs_optrom_ctl_attr = { | |||
279 | .attr = { | 276 | .attr = { |
280 | .name = "optrom_ctl", | 277 | .name = "optrom_ctl", |
281 | .mode = S_IWUSR, | 278 | .mode = S_IWUSR, |
282 | .owner = THIS_MODULE, | ||
283 | }, | 279 | }, |
284 | .size = 0, | 280 | .size = 0, |
285 | .write = qla2x00_sysfs_write_optrom_ctl, | 281 | .write = qla2x00_sysfs_write_optrom_ctl, |
@@ -327,7 +323,6 @@ static struct bin_attribute sysfs_vpd_attr = { | |||
327 | .attr = { | 323 | .attr = { |
328 | .name = "vpd", | 324 | .name = "vpd", |
329 | .mode = S_IRUSR | S_IWUSR, | 325 | .mode = S_IRUSR | S_IWUSR, |
330 | .owner = THIS_MODULE, | ||
331 | }, | 326 | }, |
332 | .size = 0, | 327 | .size = 0, |
333 | .read = qla2x00_sysfs_read_vpd, | 328 | .read = qla2x00_sysfs_read_vpd, |
@@ -375,7 +370,6 @@ static struct bin_attribute sysfs_sfp_attr = { | |||
375 | .attr = { | 370 | .attr = { |
376 | .name = "sfp", | 371 | .name = "sfp", |
377 | .mode = S_IRUSR | S_IWUSR, | 372 | .mode = S_IRUSR | S_IWUSR, |
378 | .owner = THIS_MODULE, | ||
379 | }, | 373 | }, |
380 | .size = SFP_DEV_SIZE * 2, | 374 | .size = SFP_DEV_SIZE * 2, |
381 | .read = qla2x00_sysfs_read_sfp, | 375 | .read = qla2x00_sysfs_read_sfp, |