Skip to content

Commit

Permalink
[PATCH] USB: net2280 warning fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Morton authored and Greg Kroah-Hartman committed Jul 12, 2005
1 parent 5db539e commit 30e6959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/gadget/net2280.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 30e6959

Please sign in to comment.