summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/amd/7990.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-12-28 21:11:15 +0100
committerDavid S. Miller <davem@davemloft.net>2013-12-29 00:46:38 -0500
commit4ffa8fcd1732b5bb8cf961aa0e678953e637303d (patch)
treed0c3ba09120d7428d8c344a5216342286630bb0e /drivers/net/ethernet/amd/7990.h
parenta8ab77a83a6e5641182ad0fbf7906671cb4228b7 (diff)
net/7990: Make lance_private.name const
This allows to drop a few casts. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/amd/7990.h')
-rw-r--r--drivers/net/ethernet/amd/7990.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/amd/7990.h b/drivers/net/ethernet/amd/7990.h
index 6cf566c3d249..e9e0be313804 100644
--- a/drivers/net/ethernet/amd/7990.h
+++ b/drivers/net/ethernet/amd/7990.h
@@ -98,7 +98,7 @@ struct lance_init_block {
* drivers to add things...
*/
struct lance_private {
- char *name;
+ const char *name;
unsigned long base;
volatile struct lance_init_block *init_block; /* CPU address of RAM */
volatile struct lance_init_block *lance_init_block; /* LANCE address of RAM */