Skip to content
Snippets Groups Projects
Commit 4893e9d1 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

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

parent 9d9d27fb
No related branches found
No related tags found
No related merge requests found
...@@ -286,7 +286,7 @@ static ssize_t show_interface_string(struct device *dev, struct device_attribute ...@@ -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 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_interface *intf;
struct usb_device *udev; struct usb_device *udev;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment