Re: [PATCH] driver core: Separate platform device name from platform device number

From: Russell King
Date: Fri Mar 25 2005 - 16:06:19 EST


On Fri, Mar 25, 2005 at 10:56:03PM +0200, Paul Mundt wrote:
> On Fri, Mar 25, 2005 at 08:25:08PM +0000, Russell King wrote:
> > Eh? How do you end up with "/sys/devices/platform/foobar0.0" for the
> > former case? It has an ID of "-1", and not zero. Your idea doesn't
> > make any sense.
> >
> Yes, I missed the -1 part, so Kyle is correct.
>
> It would be trivial to treat them both as foobar0 and have the
> registration succeed for whoever gets it first, but I could see that this
> would be problematic in the serial8250 case. On the other hand, this is
> then serial8250's problem.

Thank you for ignoring the other case of i82385 to justify your point
of view of it being just a single driver problem.

Maybe you can work out a patch to fix up this mess?

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
-
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/