[APPLETALK]: warning fix
authorAndrew Morton <akpm@osdl.org>
Mon, 13 Feb 2006 23:53:41 +0000 (15:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Feb 2006 23:53:41 +0000 (15:53 -0800)
drivers/net/appletalk/cops.c: In function `cops_load':
drivers/net/appletalk/cops.c:539: warning: assignment discards qualifiers from pointer target type
drivers/net/appletalk/cops.c:547: warning: assignment discards qualifiers from pointer target type

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/appletalk/cops.h

index c68ba9c2ef461a719eecc2527b935d4bc21325ea..fd2750b269c87c3fe711a1abfaf89ff9d30dd723 100644 (file)
@@ -51,7 +51,7 @@
 struct ltfirmware
 {
         unsigned int length;
-        unsigned char * data;
+        const unsigned char *data;
 };
 
 #define DAYNA 1