]> err.no Git - linux-2.6/commitdiff
[PATCH] USB: net2280 warning fix
authorAndrew Morton <akpm@osdl.org>
Mon, 27 Jun 2005 00:18:46 +0000 (17:18 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 12 Jul 2005 18:52:56 +0000 (11:52 -0700)
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>
drivers/usb/gadget/net2280.c

index 234a1a97b84e40dafe3247cc67a8ec15a723f6fa..477fab2e74d118375a22475aa05e07d7b0983d46 100644 (file)
@@ -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;