]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] smctr warning fix
authorAndrew Morton <akpm@osdl.org>
Fri, 10 Feb 2006 10:00:43 +0000 (02:00 -0800)
committerJeff Garzik <jgarzik@pobox.com>
Fri, 17 Feb 2006 21:16:21 +0000 (16:16 -0500)
drivers/net/tokenring/smctr.c: In function `smctr_load_firmware':
drivers/net/tokenring/smctr.c:2981: warning: assignment discards qualifiers from pointer target type

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/tokenring/smctr.h

index b306c7e4c793af12ea6f2ce19b7334a4ed7ba2b3..88dfa2e01d6e367a13d742d41f951d6d79057773 100644 (file)
@@ -1042,7 +1042,7 @@ typedef struct net_local {
         __u16            functional_address[2];
         __u16            bitwise_group_address[2];
 
-       __u8            *ptr_ucode;
+       const __u8       *ptr_ucode;
 
        __u8            cleanup;