[PATCH] Driver Core: drivers/s390/net/qeth_sys.c - drivers/usb/gadget/pxa2xx_udc.c: update device attribute callbacks
Signed-off-by: Yani Ioannou <yani.ioannou@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
3fd3c0a5f5
commit
10523b3b82
@@ -924,7 +924,7 @@ struct fc_function_template zfcp_transport_functions = {
|
||||
* Generates attribute for a unit.
|
||||
*/
|
||||
#define ZFCP_DEFINE_SCSI_ATTR(_name, _format, _value) \
|
||||
static ssize_t zfcp_sysfs_scsi_##_name##_show(struct device *dev, \
|
||||
static ssize_t zfcp_sysfs_scsi_##_name##_show(struct device *dev, struct device_attribute *attr, \
|
||||
char *buf) \
|
||||
{ \
|
||||
struct scsi_device *sdev; \
|
||||
|
Reference in New Issue
Block a user