summaryrefslogtreecommitdiff
path: root/packages/linux/ixp4xx-kernel/2.6.15/82-nas100d-power.patch
blob: 9a826efe2b68651b1a09fd1a4bc9c91244ae9504 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- linux-2.6.15/arch/arm/mach-ixp4xx/nas100d-power.c~	2006-01-15 00:22:38.000000000 +1030
+++ linux-2.6.15/arch/arm/mach-ixp4xx/nas100d-power.c	2006-01-15 03:58:13.000000000 +1030
@@ -58,6 +58,9 @@
 
 static void __exit nas100d_power_exit(void)
 {
+	if (!(machine_is_nas100d()))
+		return;
+
 	free_irq(NAS100D_RB_IRQ, NULL);
 }