aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@stericsson.com>2011-10-17 13:08:24 +0200
committerPhilippe Langlais <philippe.langlais@stericsson.com>2011-12-06 11:01:06 +0100
commit149b2eaaf587a103e8b7bd6cfaa3829e6ff9e10e (patch)
tree1ffa9c610f0baeb6dc354cba31ced6b72a099538
parentf961de0fef709fdd14567fe74e8542254055e14a (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];