Messages in this thread Patch in this message | | | From | Benjamin Herrenschmidt <> | Date | Wed, 03 Sep 2003 18:27:36 +0200 | Subject | [PATCH] PowerMac: Fix build of via-pmu driver with some .config's |
| |
Hi Linus !
This patch fixes build of the via-pmu.c driver when CONFIG_PMAC_PBOOK is not set. Please apply.
Regards, Ben.
diff -urN for-linus-ppc/drivers/macintosh/via-pmu.c linuxppc-2.5-benh/drivers/macintosh/via-pmu.c --- for-linus-ppc/drivers/macintosh/via-pmu.c 2003-09-03 16:10:36.000000000 +0200 +++ linuxppc-2.5-benh/drivers/macintosh/via-pmu.c 2003-09-03 18:25:59.000000000 +0200 @@ -1391,10 +1391,10 @@ if (pmu_battery_count) query_battery_state(); pmu_pass_intr(data, len); - } else + } else { pmu_pass_intr(data, len); - #endif /* CONFIG_PMAC_PBOOK */ + } goto next; }
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |