diff options
author | Swen Schillig <swen@vnet.ibm.com> | 2008-07-02 04:56:38 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-07-12 09:22:35 -0400 |
commit | 60221920706a01bef89af2577f9a90a8eeb4e662 (patch) | |
tree | f8b38412351e8be78c6f24524d963a08032fb2a1 /drivers/s390/scsi/zfcp_ext.h | |
parent | 317e6b6519b5a34263a33f150ed57ad468b26a64 (diff) |
[SCSI] zfcp: consolidate sysfs things into one file.
zfcp was using three files to deal with sysfs representation
for adapters, ports and units. The consolidation into one file
prevents code-duplication and eases maintainability.
Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_ext.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_ext.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/drivers/s390/scsi/zfcp_ext.h b/drivers/s390/scsi/zfcp_ext.h index 9caa081e52ed..f0d6947ae073 100644 --- a/drivers/s390/scsi/zfcp_ext.h +++ b/drivers/s390/scsi/zfcp_ext.h | |||
@@ -13,15 +13,13 @@ | |||
13 | 13 | ||
14 | extern struct zfcp_data zfcp_data; | 14 | extern struct zfcp_data zfcp_data; |
15 | 15 | ||
16 | /******************************** SYSFS *************************************/ | 16 | /* zfcp_sysfs.c */ |
17 | extern int zfcp_sysfs_adapter_create_files(struct device *); | 17 | extern struct attribute_group zfcp_sysfs_unit_attrs; |
18 | extern void zfcp_sysfs_adapter_remove_files(struct device *); | 18 | extern struct attribute_group zfcp_sysfs_adapter_attrs; |
19 | extern int zfcp_sysfs_port_create_files(struct device *, u32); | 19 | extern struct attribute_group zfcp_sysfs_ns_port_attrs; |
20 | extern void zfcp_sysfs_port_remove_files(struct device *, u32); | 20 | extern struct attribute_group zfcp_sysfs_port_attrs; |
21 | extern int zfcp_sysfs_unit_create_files(struct device *); | 21 | extern struct device_attribute *zfcp_sysfs_sdev_attrs[]; |
22 | extern void zfcp_sysfs_unit_remove_files(struct device *); | 22 | extern struct device_attribute *zfcp_sysfs_shost_attrs[]; |
23 | extern void zfcp_sysfs_port_release(struct device *); | ||
24 | extern void zfcp_sysfs_unit_release(struct device *); | ||
25 | 23 | ||
26 | /**************************** CONFIGURATION *********************************/ | 24 | /**************************** CONFIGURATION *********************************/ |
27 | extern struct zfcp_unit *zfcp_get_unit_by_lun(struct zfcp_port *, fcp_lun_t); | 25 | extern struct zfcp_unit *zfcp_get_unit_by_lun(struct zfcp_port *, fcp_lun_t); |