[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
@@ -466,7 +466,7 @@ int eesoxscsi_proc_info(struct Scsi_Host *host, char *buffer, char **start, off_
|
||||
return pos;
|
||||
}
|
||||
|
||||
static ssize_t eesoxscsi_show_term(struct device *dev, char *buf)
|
||||
static ssize_t eesoxscsi_show_term(struct device *dev, struct device_attribute *attr, char *buf)
|
||||
{
|
||||
struct expansion_card *ec = ECARD_DEV(dev);
|
||||
struct Scsi_Host *host = ecard_get_drvdata(ec);
|
||||
@@ -475,7 +475,7 @@ static ssize_t eesoxscsi_show_term(struct device *dev, char *buf)
|
||||
return sprintf(buf, "%d\n", info->control & EESOX_TERM_ENABLE ? 1 : 0);
|
||||
}
|
||||
|
||||
static ssize_t eesoxscsi_store_term(struct device *dev, const char *buf, size_t len)
|
||||
static ssize_t eesoxscsi_store_term(struct device *dev, struct device_attribute *attr, const char *buf, size_t len)
|
||||
{
|
||||
struct expansion_card *ec = ECARD_DEV(dev);
|
||||
struct Scsi_Host *host = ecard_get_drvdata(ec);
|
||||
|
Reference in New Issue
Block a user