浏览代码

Merge git://git.infradead.org/battery-2.6

* git://git.infradead.org/battery-2.6:
  Don't compile the PMU power driver on 64-bit PowerPC
Linus Torvalds 18 年之前
父节点
当前提交
195be1c208
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/power/Kconfig

+ 1 - 1
drivers/power/Kconfig

@@ -38,7 +38,7 @@ config BATTERY_DS2760
 
 config BATTERY_PMU
 	tristate "Apple PMU battery"
-	depends on ADB_PMU
+	depends on PPC32 && ADB_PMU
 	help
 	  Say Y here to expose battery information on Apple machines
 	  through the generic battery class.