aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-01-24 01:28:48 -0500
committerDavid S. Miller <davem@davemloft.net>2009-01-24 01:28:48 -0500
commit0db155de988031f925096a7df1bf9633790a2c18 (patch)
tree09f6d3c8d9254b6120c511b0633a07f50293de0b /include
parent92af3e95e4896452ab33b1841c3e9a9d50658064 (diff)
com20020: Fix allyesconfig build failure.
Reported by Stephen Rothwell. Due to missing 'extern' in the com20020_netdev_ops declaration, each file that includes linux/com20020.h gets another copy defined in it's resulting object file. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/com20020.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/com20020.h b/include/linux/com20020.h
index 350afa773f8f..5dcfb944b6ce 100644
--- a/include/linux/com20020.h
+++ b/include/linux/com20020.h
@@ -29,7 +29,7 @@
29 29
30int com20020_check(struct net_device *dev); 30int com20020_check(struct net_device *dev);
31int com20020_found(struct net_device *dev, int shared); 31int com20020_found(struct net_device *dev, int shared);
32const struct net_device_ops com20020_netdev_ops; 32extern const struct net_device_ops com20020_netdev_ops;
33 33
34/* The number of low I/O ports used by the card. */ 34/* The number of low I/O ports used by the card. */
35#define ARCNET_TOTAL_SIZE 8 35#define ARCNET_TOTAL_SIZE 8