summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ixp4xx/nas100d-power.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2006-03-20 17:53:56 +0100
committerKumar Gala <galak@kernel.crashing.org>2006-03-20 17:53:56 +0100
commit61c5504a0ed66c8b460f9a006eedaea2ee587e33 (patch)
tree2cf21d235f17e80d47fdb4ee1248865be8196d4d /arch/arm/mach-ixp4xx/nas100d-power.c
parentMerge branch 'master' of git+ssh://galak@master.kernel.org/pub/scm/linux/kern... (diff)
parent[PATCH] powerpc: Fix bug in bug fix for bug in lmb_alloc() (diff)
downloadlinux-61c5504a0ed66c8b460f9a006eedaea2ee587e33.tar.xz
linux-61c5504a0ed66c8b460f9a006eedaea2ee587e33.zip
Merge branch 'master'
Diffstat (limited to 'arch/arm/mach-ixp4xx/nas100d-power.c')
-rw-r--r--arch/arm/mach-ixp4xx/nas100d-power.c3
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)
static void __exit nas100d_power_exit(void)
{
+ if (!(machine_is_nas100d()))
+ return;
+
free_irq(NAS100D_RB_IRQ, NULL);
}