summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Kimber <chris.kimber@stericsson.com>2011-10-05 16:30:40 +0100
committerPhilippe Langlais <philippe.langlais@stericsson.com>2011-12-06 10:50:54 +0100
commit3a0745aa3d4ac226533bc0cf21f987572ec62e12 (patch)
tree7403a4f711ddb639f925da83aee52064bec1c66a
parent51d5642458d33f11edf01fdb6c5fab55632a4ab5 (diff)
hwmon: dbx500: Update to reflect new PRCMU location
PRCMU has been moved, so fix Kconfig and header include path ST-Ericsson ID: 364370 ST-Ericsson Linux next: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I052cf03afa4481e1267c07acf2d16401fac6abc2 Signed-off-by: Chris Kimber <chris.kimber@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33124 Reviewed-by: QABUILD Reviewed-by: Duncan PATERSON <duncan.paterson@stericsson.com> Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
-rw-r--r--drivers/hwmon/Kconfig2
-rw-r--r--drivers/hwmon/dbx500.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index dc662015c13..b0e5152f7f5 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -66,7 +66,7 @@ config SENSORS_AB5500
config SENSORS_DBX500
tristate "DBX500 thermal monitoring"
- depends on U8500_PRCMU || U5500_PRCMU
+ depends on MFD_DB8500_PRCMU || MFD_DB5500_PRCMU
default n
help
If you say yes here you get support for the thermal sensor part
diff --git a/drivers/hwmon/dbx500.c b/drivers/hwmon/dbx500.c
index e240f92ede8..c034b48f8dd 100644
--- a/drivers/hwmon/dbx500.c
+++ b/drivers/hwmon/dbx500.c
@@ -13,7 +13,7 @@
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/platform_device.h>
-#include <mach/prcmu.h>
+#include <linux/mfd/dbx500-prcmu.h>
#include <linux/hwmon.h>
#include <linux/sysfs.h>
#include <linux/hwmon-sysfs.h>