diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2008-04-28 18:36:20 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-04-29 20:34:07 -0400 |
commit | 49dd09613cf8ae3b697c341c501b7526b462cfeb (patch) | |
tree | 4fc280504d79accf50ddff2e48b78226f131213d /drivers/scsi | |
parent | 69cd39e94669e2994277a29249b6ef93b088ddbb (diff) |
[SCSI] ipr: Rename ipr's state scsi host attribute to prevent collisions
Due to recent device model changes it now no longer tolerates name
collisions. This causes a problem for ipr whose "state" attribute
collides with an identically named one in the SCSI mid-layer. Rename
the ipr driver attribute to be more specific.
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/ipr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index de5ae6a6502..999e91ea745 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c | |||
@@ -2791,7 +2791,7 @@ static ssize_t ipr_store_adapter_state(struct device *dev, | |||
2791 | 2791 | ||
2792 | static struct device_attribute ipr_ioa_state_attr = { | 2792 | static struct device_attribute ipr_ioa_state_attr = { |
2793 | .attr = { | 2793 | .attr = { |
2794 | .name = "state", | 2794 | .name = "online_state", |
2795 | .mode = S_IRUGO | S_IWUSR, | 2795 | .mode = S_IRUGO | S_IWUSR, |
2796 | }, | 2796 | }, |
2797 | .show = ipr_show_adapter_state, | 2797 | .show = ipr_show_adapter_state, |