summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@stericsson.com>2011-10-17 13:08:24 +0200
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:07:16 +0200
commitb6fe998c08e3301a7f9b88f941ba868dc2e3fe5f (patch)
tree5d4dc51921fafbc1ffce2ee158c202a8cb7608b6
parent6c5289cb78a930f165929765067b3a610fa01830 (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];