diff options
author | Andrew Morton <akpm@osdl.org> | 2005-06-26 17:18:46 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-07-12 11:52:56 -0700 |
commit | 30e695986679ac2d2354fc1634e8cb931bb47785 (patch) | |
tree | 09de7c8b9de5281dfb81e48de9446f829b5b6e8d /drivers/usb/gadget/net2280.c | |
parent | 5db539e49fc7471e23bf3c94ca304f008cb7b7f3 (diff) | |
download | linux-30e695986679ac2d2354fc1634e8cb931bb47785.tar.gz linux-30e695986679ac2d2354fc1634e8cb931bb47785.tar.bz2 linux-30e695986679ac2d2354fc1634e8cb931bb47785.zip |
[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/net2280.c')
-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) unsigned long flags; int i; u32 t1, t2; - char *s; + const char *s; dev = dev_get_drvdata (_dev); next = buf; |