summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@stericsson.com>2011-10-17 13:08:24 +0200
committerMathieu J. Poirier <mathieu.poirier@linaro.org>2011-11-10 11:12:19 -0700
commit338ede21dc39d4992bc71b533c1537b4fa697a4e (patch)
tree03f41cb28b3b903ae4a70631b3e8eaa9a77166f3
parent98b5362799885d20b988e8193ab3f60d62197c12 (diff)
ARM: ux500: modem: Replace mach prcmu driver with mainlined version
The prcmu driver now exists in drivers/mfd Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32057
-rw-r--r--drivers/modem/modem_u8500.c2
-rw-r--r--drivers/modem/shrm/shrm_protocol.c5
2 files changed, 4 insertions, 3 deletions
diff --git a/drivers/modem/modem_u8500.c b/drivers/modem/modem_u8500.c
index 20b5fe78ef7..2f5288d07bf 100644
--- a/drivers/modem/modem_u8500.c
+++ b/drivers/modem/modem_u8500.c
@@ -11,7 +11,7 @@
#include <linux/modem/modem.h>
#include <linux/platform_device.h>
#include <linux/err.h>
-#include <mach/prcmu.h>
+#include <linux/mfd/dbx500-prcmu.h>
static void u8500_modem_request(struct modem_dev *mdev)
{
diff --git a/drivers/modem/shrm/shrm_protocol.c b/drivers/modem/shrm/shrm_protocol.c
index 3b7abf7da61..137b70e9cbf 100644
--- a/drivers/modem/shrm/shrm_protocol.c
+++ b/drivers/modem/shrm/shrm_protocol.c
@@ -16,8 +16,7 @@
#include <linux/modem/shrm/shrm_private.h>
#include <linux/modem/shrm/shrm_net.h>
#include <linux/modem/modem_client.h>
-#include <mach/prcmu.h>
-#include <mach/prcmu-regs.h>
+#include <linux/mfd/dbx500-prcmu.h>
#include <mach/reboot_reasons.h>
#define L2_HEADER_ISI 0x0
@@ -31,6 +30,8 @@
#define L2_HEADER_CIQ 0xC3
#define MAX_PAYLOAD 1024
+#define PRCM_HOSTACCESS_REQ (_PRCMU_BASE + 0x334)
+
static u8 boot_state = BOOT_INIT;
static u8 recieve_common_msg[8*1024];
static u8 recieve_audio_msg[8*1024];