Skip to content

Commit

Permalink
com20020: Fix allyesconfig build failure.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David S. Miller committed Jan 24, 2009
1 parent 92af3e9 commit 0db155d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/com20020.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

int com20020_check(struct net_device *dev);
int com20020_found(struct net_device *dev, int shared);
const struct net_device_ops com20020_netdev_ops;
extern const struct net_device_ops com20020_netdev_ops;

/* The number of low I/O ports used by the card. */
#define ARCNET_TOTAL_SIZE 8
Expand Down

0 comments on commit 0db155d

Please sign in to comment.