From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Date: Fri, 23 Jan 2009 18:28:47 +1100 > drivers/net/arcnet/com20020-pci.o:(.bss+0x10): multiple definition of `com20020_netdev_ops' > drivers/net/arcnet/com20020.o:(.data.rel.ro+0x0): first defined here > > The immediate cause is commit a1799af4d7deefccdaa9d222a886fa1373dbb49a > ("com20020: convert to net_devic_ops") which I have reverted for today. Does this patch fix it? I can't see any other way to end up with a multiple definition like that. diff --git a/include/linux/com20020.h b/include/linux/com20020.h index 350afa7..5dcfb94 100644 --- a/include/linux/com20020.h +++ b/include/linux/com20020.h @@ -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 -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html