[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>
This commit is contained in:
parent
5db539e49f
commit
30e6959866
1 changed files with 1 additions and 1 deletions
|
@ -1490,7 +1490,7 @@ show_registers (struct device *_dev, struct device_attribute *attr, char *buf)
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
int i;
|
int i;
|
||||||
u32 t1, t2;
|
u32 t1, t2;
|
||||||
char *s;
|
const char *s;
|
||||||
|
|
||||||
dev = dev_get_drvdata (_dev);
|
dev = dev_get_drvdata (_dev);
|
||||||
next = buf;
|
next = buf;
|
||||||
|
|
Loading…
Reference in a new issue