lkml.org 
[lkml]   [2003]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.041 / U:0.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site