Messages in this thread |  | | | Date | Sun, 25 Apr 2004 23:58:44 +0100 | | From | Russell King <> | | Subject | Re: [OOPS/HACK] atmel_cs and the latest changes in sysfs/symlink.c |
| |
On Sun, Apr 25, 2004 at 04:53:53PM -0500, Dmitry Torokhov wrote: > On Friday 23 April 2004 03:39 pm, Russell King wrote: > > On Fri, Apr 23, 2004 at 10:14:24PM +0200, Marcel Holtmann wrote: > > > should we apply the pcmcia_get_sys_device() patch from Dmitry for now to > > > fix the current drivers that need a device for loading the firmware? > > > > I don't think so - it obtains the struct device for the bridge itself > > which has nothing to do with the card inserted in the slot. > > > > Yes, my bad... I wonder if something like the patch below could be useful > for now (although it created only one device entry even if card has multiple > functions so we really need another device for every function):
This breaks modular builds - pcmcia_bus_type is in ds.c which is a separate module.
Look, Dominik has done a fair amount of work in this area. There is a set of patches which need to be worked through and merged in a controlled manner to get to the point where we can have a struct device for PCMCIA cards. We'll get there eventually. Please don't try to bypass this process - it won't work, and it'll only cause unnecessary merge problems with the existing patch sets.
-- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/ 2.6 Serial core - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |