Commit 0db155de988031f925096a7df1bf9633790a2c18
1 parent
92af3e95e4
Exists in
master
and in
4 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
include/linux/com20020.h
... | ... | @@ -29,7 +29,7 @@ |
29 | 29 | |
30 | 30 | int com20020_check(struct net_device *dev); |
31 | 31 | int com20020_found(struct net_device *dev, int shared); |
32 | -const struct net_device_ops com20020_netdev_ops; | |
32 | +extern const struct net_device_ops com20020_netdev_ops; | |
33 | 33 | |
34 | 34 | /* The number of low I/O ports used by the card. */ |
35 | 35 | #define ARCNET_TOTAL_SIZE 8 |