@@ -29,7 +29,7 @@
#include <linux/debugfs.h>
#include <linux/delay.h>
-#include <mach/msm_smd.h>
+#include <linux/msm_smd.h>
#include "smd_private.h"
#include "proc_comm.h"
@@ -59,14 +59,14 @@ enum {
static int msm_smd_debug_mask;
-struct shared_info {
+struct msm_smd_shared_info {
int ready;
void __iomem *state;
};
static unsigned dummy_state[SMSM_STATE_COUNT];
-static struct shared_info smd_info = {
+static struct msm_smd_shared_info smd_info = {
/* FIXME: not a real __iomem pointer */
.state = &dummy_state,
};
@@ -31,7 +31,7 @@
#include <linux/workqueue.h>
#include <linux/poll.h>
-#include <mach/msm_smd.h>
+#include <linux/msm_smd.h>
#define NUM_SMD_PKT_PORTS 9
#define DEVICE_NAME "smdpkt"
@@ -24,7 +24,7 @@
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
-#include <mach/msm_smd.h>
+#include <linux/msm_smd.h>
#define MAX_SMD_TTYS 32
This is one of several approaches to the problem of this header file not being visible on ARCH_MULTIPLATFORM otherwise. Signed-off-by: Arnd Bergmann <arnd@arnd@arndb.de> --- arch/arm/mach-msm/smd.c | 6 +++--- drivers/char/msm_smd_pkt.c | 2 +- drivers/tty/serial/msm_smd_tty.c | 2 +- {arch/arm/mach-msm/include/mach => include/linux}/msm_smd.h | 0 4 files changed, 5 insertions(+), 5 deletions(-) rename {arch/arm/mach-msm/include/mach => include/linux}/msm_smd.h (100%) diff --git a/arch/arm/mach-msm/include/mach/msm_smd.h b/include/linux/msm_smd.h similarity index 100% rename from arch/arm/mach-msm/include/mach/msm_smd.h rename to include/linux/msm_smd.h