Re: [OOPS/HACK] atmel_cs and the latest changes in sysfs/symlink.c

Greg KH
2004-04-23T17:16:42Z

On Fri, Apr 23, 2004 at 11:55:59AM -0500, Dmitry Torokhov wrote:
> --- 1.11/drivers/net/wireless/atmel_cs.c Thu Feb 5 05:04:40 2004
> +++ edited/drivers/net/wireless/atmel_cs.c Fri Apr 23 11:43:42 2004
> @@ -348,17 +348,13 @@
> { 0, 0, "11WAVE/11WP611AL-E", "atmel_at76c502e%s.bin", "11WAVE WaveBuddy" }
> };
>
> -/* This is strictly temporary, until PCMCIA devices get integrated into the device model. */
> -static struct device atmel_device = {
> - .bus_id = "pcmcia",
> -};
> -

<snip>

Much nicer (well, in a wierd way at least.) It seems that the pcmcia
system is intregrated into the driver model. Why not push it down into
the individual pcmcia drivers so you don't have to do this GetSysDevice
kind of hack still?

thanks,

greg k-h