summaryrefslogtreecommitdiff
path: root/packages/linux/ixp4xx-kernel/2.6.15/81-nslu2-power.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/linux/ixp4xx-kernel/2.6.15/81-nslu2-power.patch')
-rw-r--r--packages/linux/ixp4xx-kernel/2.6.15/81-nslu2-power.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/linux/ixp4xx-kernel/2.6.15/81-nslu2-power.patch b/packages/linux/ixp4xx-kernel/2.6.15/81-nslu2-power.patch
index ab8bdd8eae..7587058cb7 100644
--- a/packages/linux/ixp4xx-kernel/2.6.15/81-nslu2-power.patch
+++ b/packages/linux/ixp4xx-kernel/2.6.15/81-nslu2-power.patch
@@ -5,7 +5,7 @@
static void __exit nslu2_power_exit(void)
{
+ if (!(machine_is_nslu2()))
-+ return 0;
++ return;
+
free_irq(NSLU2_RB_IRQ, NULL);
free_irq(NSLU2_PB_IRQ, NULL);