提交 4893e9d1 编写于 作者: G Greg Kroah-Hartman

[PATCH] USB: fix show_modalias() function due to attribute change

Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 9d9d27fb
......@@ -286,7 +286,7 @@ static ssize_t show_interface_string(struct device *dev, struct device_attribute
}
static DEVICE_ATTR(interface, S_IRUGO, show_interface_string, NULL);
static ssize_t show_modalias(struct device *dev, char *buf)
static ssize_t show_modalias(struct device *dev, struct device_attribute *attr, char *buf)
{
struct usb_interface *intf;
struct usb_device *udev;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册