switch /proc/scsi/scsi to seq_file and proper device model lists
PATCH 1/1 switch /proc/scsi/scsi to seq_file and proper device model lists
drivers/scsi/scsi_priv.h +1 -0
@@ -130,5 +130,6 @@extern struct device_attribute *scsi_sysfs_sdev_attrs[];extern struct class shost_class; +extern struct bus_type scsi_bus_type;#endif /* _SCSI_PRIV_H */
drivers/scsi/scsi_proc.c +62 -81
202 lines not on this page · raw message
drivers/scsi/scsi_sysfs.c +1 -1
@@ -68,7 +68,7 @@return 1 ; } -static struct bus_type scsi_bus_type = { +struct bus_type scsi_bus_type = { .name ="scsi" , .match = scsi_bus_match, };