Commit 741948bc authored by Don Fry's avatar Don Fry Committed by Jeff Garzik

[PATCH] pcnet32: add static to two routines.

This patch adds 'static' to two routines.  The prototype has static but
the instantiation did not.
parent 3d61e387
...@@ -844,12 +844,12 @@ static int pcnet32_phys_id(struct net_device *dev, u32 data) ...@@ -844,12 +844,12 @@ static int pcnet32_phys_id(struct net_device *dev, u32 data)
return 0; return 0;
} }
int pcnet32_get_regs_len(struct net_device *dev) static int pcnet32_get_regs_len(struct net_device *dev)
{ {
return(PCNET32_NUM_REGS * sizeof(u16)); return(PCNET32_NUM_REGS * sizeof(u16));
} }
void pcnet32_get_regs(struct net_device *dev, struct ethtool_regs *regs, static void pcnet32_get_regs(struct net_device *dev, struct ethtool_regs *regs,
void *ptr) void *ptr)
{ {
int i, csr0; int i, csr0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment