diff options
author | Christof Schmitt <christof.schmitt@de.ibm.com> | 2010-02-17 05:18:56 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-02-17 18:46:30 -0500 |
commit | 615f59e0daaf56e43dcaaf3ea228967d9bc21584 (patch) | |
tree | 846366936a5077153b8f07b3125e868d7f6bce4e /drivers/s390/scsi/zfcp_def.h | |
parent | 5bdecd2248d4af6f3b311b4d8ca7f3f5f83a7191 (diff) |
[SCSI] zfcp: Rename sysfs_device attribute to dev in zfcp_unit and zfcp_port
Kernel code uses dev as short name for the struct device. Rename the
sysfs_device in zfcp_unit and zfcp_port to match this convention.
Reviewed-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/s390/scsi/zfcp_def.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_def.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/s390/scsi/zfcp_def.h b/drivers/s390/scsi/zfcp_def.h index ff4e2ca19beb..f43e6d8c9cea 100644 --- a/drivers/s390/scsi/zfcp_def.h +++ b/drivers/s390/scsi/zfcp_def.h | |||
@@ -3,7 +3,7 @@ | |||
3 | * | 3 | * |
4 | * Global definitions for the zfcp device driver. | 4 | * Global definitions for the zfcp device driver. |
5 | * | 5 | * |
6 | * Copyright IBM Corporation 2002, 2009 | 6 | * Copyright IBM Corporation 2002, 2010 |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #ifndef ZFCP_DEF_H | 9 | #ifndef ZFCP_DEF_H |
@@ -237,7 +237,7 @@ struct zfcp_adapter { | |||
237 | }; | 237 | }; |
238 | 238 | ||
239 | struct zfcp_port { | 239 | struct zfcp_port { |
240 | struct device sysfs_device; /* sysfs device */ | 240 | struct device dev; |
241 | struct fc_rport *rport; /* rport of fc transport class */ | 241 | struct fc_rport *rport; /* rport of fc transport class */ |
242 | struct list_head list; /* list of remote ports */ | 242 | struct list_head list; /* list of remote ports */ |
243 | struct zfcp_adapter *adapter; /* adapter used to access port */ | 243 | struct zfcp_adapter *adapter; /* adapter used to access port */ |
@@ -259,7 +259,7 @@ struct zfcp_port { | |||
259 | }; | 259 | }; |
260 | 260 | ||
261 | struct zfcp_unit { | 261 | struct zfcp_unit { |
262 | struct device sysfs_device; /* sysfs device */ | 262 | struct device dev; |
263 | struct list_head list; /* list of logical units */ | 263 | struct list_head list; /* list of logical units */ |
264 | struct zfcp_port *port; /* remote port of unit */ | 264 | struct zfcp_port *port; /* remote port of unit */ |
265 | atomic_t status; /* status of this logical unit */ | 265 | atomic_t status; /* status of this logical unit */ |