projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d9d27f
)
[PATCH] USB: fix show_modalias() function due to attribute change
author
Greg Kroah-Hartman
<gregkh@suse.de>
Sun, 19 Jun 2005 10:21:43 +0000
(12:21 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 20 Jun 2005 22:27:35 +0000
(15:27 -0700)
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/sysfs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/core/sysfs.c
b/drivers/usb/core/sysfs.c
index c1b8e690c1d3724eea4320f808a99fb8f262a57d..740cb4c668dfa6295e10ec7aba57854d50bd63ea 100644
(file)
--- a/
drivers/usb/core/sysfs.c
+++ b/
drivers/usb/core/sysfs.c
@@
-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;