diff options
author | Andrew Morton <akpm@osdl.org> | 2006-02-10 10:00:43 (GMT) |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-02-17 21:16:21 (GMT) |
commit | ca5b0ec8ae9f11c85d1f27b19f182a054303f324 (patch) | |
tree | d8e063304c139704be152948e1302efae9075755 /drivers | |
parent | 6f4c56b2ae10b680be518cc99f5308fc59236db2 (diff) | |
download | linux-fsl-qoriq-ca5b0ec8ae9f11c85d1f27b19f182a054303f324.tar.xz |
[PATCH] smctr warning fix
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/tokenring/smctr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tokenring/smctr.h b/drivers/net/tokenring/smctr.h index b306c7e..88dfa2e 100644 --- a/drivers/net/tokenring/smctr.h +++ b/drivers/net/tokenring/smctr.h @@ -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; |