summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-06-26 17:18:46 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2005-07-12 11:52:56 -0700
commit30e695986679ac2d2354fc1634e8cb931bb47785 (patch)
tree09de7c8b9de5281dfb81e48de9446f829b5b6e8d /drivers/usb/gadget
parent5db539e49fc7471e23bf3c94ca304f008cb7b7f3 (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>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/net2280.c2
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)
unsigned long flags;
int i;
u32 t1, t2;
- char *s;
+ const char *s;
dev = dev_get_drvdata (_dev);
next = buf;