diff options
Diffstat (limited to 'drivers/usb/gadget/net2280.c')
-rw-r--r-- | drivers/usb/gadget/net2280.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/gadget/net2280.c b/drivers/usb/gadget/net2280.c index 33469cf5aec3..e01862300169 100644 --- a/drivers/usb/gadget/net2280.c +++ b/drivers/usb/gadget/net2280.c | |||
@@ -1418,8 +1418,8 @@ show_function (struct device *_dev, struct device_attribute *attr, char *buf) | |||
1418 | } | 1418 | } |
1419 | static DEVICE_ATTR (function, S_IRUGO, show_function, NULL); | 1419 | static DEVICE_ATTR (function, S_IRUGO, show_function, NULL); |
1420 | 1420 | ||
1421 | static ssize_t | 1421 | static ssize_t net2280_show_registers(struct device *_dev, |
1422 | show_registers (struct device *_dev, struct device_attribute *attr, char *buf) | 1422 | struct device_attribute *attr, char *buf) |
1423 | { | 1423 | { |
1424 | struct net2280 *dev; | 1424 | struct net2280 *dev; |
1425 | char *next; | 1425 | char *next; |
@@ -1571,7 +1571,7 @@ show_registers (struct device *_dev, struct device_attribute *attr, char *buf) | |||
1571 | 1571 | ||
1572 | return PAGE_SIZE - size; | 1572 | return PAGE_SIZE - size; |
1573 | } | 1573 | } |
1574 | static DEVICE_ATTR (registers, S_IRUGO, show_registers, NULL); | 1574 | static DEVICE_ATTR(registers, S_IRUGO, net2280_show_registers, NULL); |
1575 | 1575 | ||
1576 | static ssize_t | 1576 | static ssize_t |
1577 | show_queues (struct device *_dev, struct device_attribute *attr, char *buf) | 1577 | show_queues (struct device *_dev, struct device_attribute *attr, char *buf) |