Re: [PATCH 5/6] [NET] ixp2000/enp2611: don't set non-existentmember get_stats

From: David Miller
Date: Mon Aug 10 2009 - 00:49:05 EST


From: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
Date: Fri, 7 Aug 2009 22:42:40 +0200

> This fixes a build failure for 2.6.31-rc5 (ARCH=arm, ixp2000_defconfig):
>
> CC drivers/net/ixp2000/enp2611.o
> drivers/net/ixp2000/enp2611.c: In function 'enp2611_init_module':
> drivers/net/ixp2000/enp2611.c:213: error: 'struct net_device' has no member named 'get_stats'
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>

This is far from the way to fix this, unfortunately.

We need to find a way to propagate this assignment into
the netdev_ops method vector instead.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/