Re: [-mm patch] missing class_dev to dev conversions

From: Greg KH
Date: Wed Oct 04 2006 - 01:16:16 EST


On Tue, Sep 19, 2006 at 05:39:03PM +0000, Frederik Deweerdt wrote:
> On Tue, Sep 19, 2006 at 01:28:48AM -0700, Andrew Morton wrote:
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc7/2.6.18-rc7-mm1/
> >
> Greg,
>
> There are some net drivers that didn't get their class_device converted to
> device, as introduced by the gregkh-driver-network-class_device-to-device
> patch.
> The arm defconfig build thus fails with the following message:
>
> drivers/net/smc91x.c: In function `smc_ethtool_getdrvinfo':
> drivers/net/smc91x.c:1713: error: structure has no member named
> `class_dev'
> make[2]: *** [drivers/net/smc91x.o] Error 1
> make[1]: *** [drivers/net] Error 2
> make: *** [drivers] Error 2
>
> The following patch fixes at91_ether.c, etherh.c, smc911x.c and smc91x.c.

Thanks a lot, I've merged this in with the original patch that caused
this problem.

greg k-h
-
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/