summaryrefslogtreecommitdiff
path: root/packages/linux/ixp4xx-kernel/2.6.15/82-nas100d-power.patch
blob: f02714beea103f52633946395404fa704d062ee4 (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 0;
+
 	free_irq(NAS100D_RB_IRQ, NULL);
 }