diff options
author | Andrew Morton <akpm@osdl.org> | 2005-06-26 20:18:46 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-07-12 14:52:56 -0400 |
commit | 30e695986679ac2d2354fc1634e8cb931bb47785 (patch) | |
tree | 09de7c8b9de5281dfb81e48de9446f829b5b6e8d | |
parent | 5db539e49fc7471e23bf3c94ca304f008cb7b7f3 (diff) |
[PATCH] USB: net2280 warning fix
drivers/usb/gadget/net2280.c: In function 'show_registers':
drivers/usb/gadget/net2280.c:1501: warning: assignment discards qualifiers from pointer target type
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/usb/gadget/net2280.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/net2280.c b/drivers/usb/gadget/net2280.c index 234a1a97b84e..477fab2e74d1 100644 --- a/drivers/usb/gadget/net2280.c +++ b/drivers/usb/gadget/net2280.c | |||
@@ -1490,7 +1490,7 @@ show_registers (struct device *_dev, struct device_attribute *attr, char *buf) | |||
1490 | unsigned long flags; | 1490 | unsigned long flags; |
1491 | int i; | 1491 | int i; |
1492 | u32 t1, t2; | 1492 | u32 t1, t2; |
1493 | char *s; | 1493 | const char *s; |
1494 | 1494 | ||
1495 | dev = dev_get_drvdata (_dev); | 1495 | dev = dev_get_drvdata (_dev); |
1496 | next = buf; | 1496 | next = buf; |