[ARM] pxa: avoid registering multiple pxa2xx_pcmcia devices
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 24 Apr 2008 14:23:25 +0000 (15:23 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 2 Jun 2008 12:49:15 +0000 (13:49 +0100)
cm_x270 and mainstone both register their PCMCIA devices using the same
name, resulting in a warning message from the kernel.  Avoid this by
making the cm_x270 and mainstone PCMCIA initialisation conditional on
the machine type we're running on.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found