[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>
此提交包含在:
@@ -633,7 +633,7 @@ static const struct usb_gadget_ops dummy_ops = {
|
||||
|
||||
/* "function" sysfs attribute */
|
||||
static ssize_t
|
||||
show_function (struct device *dev, char *buf)
|
||||
show_function (struct device *dev, struct device_attribute *attr, char *buf)
|
||||
{
|
||||
struct dummy *dum = gadget_dev_to_dummy (dev);
|
||||
|
||||
@@ -1600,7 +1600,7 @@ show_urb (char *buf, size_t size, struct urb *urb)
|
||||
}
|
||||
|
||||
static ssize_t
|
||||
show_urbs (struct device *dev, char *buf)
|
||||
show_urbs (struct device *dev, struct device_attribute *attr, char *buf)
|
||||
{
|
||||
struct usb_hcd *hcd = dev_get_drvdata (dev);
|
||||
struct dummy *dum = hcd_to_dummy (hcd);
|
||||
|
新增問題並參考
封鎖使用者