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

From: Greg KH
Date: Fri Apr 23 2004 - 12:17:44 EST


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
-
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/