[ARM] 3353/1: NAS100d: protect nas100d_power_exit() with machine_is_nas100d()
authorAlessandro Zummo <azummo-armlinux@towertech.it>
Tue, 7 Mar 2006 22:48:29 +0000 (22:48 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 7 Mar 2006 22:48:29 +0000 (22:48 +0000)
commit744bfe4c25716a7cfc5690aeab8d572b43d7c916
tree3adae1ee63e4e6283779f789f8de85d1abb6acf2
parent6a0e243069b09a323255f6e847c87d531961cd96
[ARM] 3353/1: NAS100d: protect  nas100d_power_exit() with machine_is_nas100d()

Patch from Alessandro Zummo

nas100d_power_exit(void) gets some protection
to avoid freeing an irq when it is not appropriate to do so.

Signed-off-by: Rod Whitby <rod@whitby.id.au>
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ixp4xx/nas100d-power.c