[ARM] pxa: don't register lpd270 cpld_irq sysdev if !lpd270
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 24 Apr 2008 14:13:36 +0000 (15:13 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 2 Jun 2008 12:49:14 +0000 (13:49 +0100)
commit720046de27ec2a96d4497dbca8ee98657efa059c
tree24d8fc344e16970be7cc4817a09f40c3bbd2ea73
parent1a7e612fa5ea0311232bd5418a40ec7280557789
[ARM] pxa: don't register lpd270 cpld_irq sysdev if !lpd270

Don't register the LPD270 cpld_irq system device when we're not running
on a LPD270 machine - "cpld_irq" is also registered (separately) by
Lubbock and Mainstone.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/lpd270.c