Re: Platform device matching

From: Russell King
Date: Sun Apr 25 2004 - 18:02:57 EST


On Sun, Apr 25, 2004 at 11:05:11PM +0100, Kenn Humborg wrote:
> I'm looking at the code for binding platform devices with drivers.
> However, platform_match() doesn't seem to agree with its kerneldoc
> comment:

The code is correct as stands. The documentation is behind times. All
platform devices are "<name><instance-number>" so it's correct that the
"floppy" driver matches "floppy0" and "floppy1" etc.

--
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/