diff options
| -rw-r--r-- | arch/arm/mach-ixp4xx/nas100d-power.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-ixp4xx/nas100d-power.c b/arch/arm/mach-ixp4xx/nas100d-power.c index 2bec69bfa715..99d333d7ebdd 100644 --- a/arch/arm/mach-ixp4xx/nas100d-power.c +++ b/arch/arm/mach-ixp4xx/nas100d-power.c | |||
| @@ -56,6 +56,9 @@ static int __init nas100d_power_init(void) | |||
| 56 | 56 | ||
| 57 | static void __exit nas100d_power_exit(void) | 57 | static void __exit nas100d_power_exit(void) |
| 58 | { | 58 | { |
| 59 | if (!(machine_is_nas100d())) | ||
| 60 | return; | ||
| 61 | |||
| 59 | free_irq(NAS100D_RB_IRQ, NULL); | 62 | free_irq(NAS100D_RB_IRQ, NULL); |
| 60 | } | 63 | } |
| 61 | 64 | ||
