summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/serial-sccnxp.h
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2013-07-31 14:55:45 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-01 05:09:35 +0400
commit85c996907473e4ef824774b97b26499adf66521f (patch)
treeba1d87ea9bb219d4828e9d87888f3df4d4fcdf23 /include/linux/platform_data/serial-sccnxp.h
parentea4c39beace859139bc184a1aebdccdc12c04a2e (diff)
downloadlinux-85c996907473e4ef824774b97b26499adf66521f.tar.xz
serial: sccnxp: Add DT support
Add DT support to the SCCNCP serial driver. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/platform_data/serial-sccnxp.h')
-rw-r--r--include/linux/platform_data/serial-sccnxp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/platform_data/serial-sccnxp.h b/include/linux/platform_data/serial-sccnxp.h
index af0c8c3b89ae..98373d6add27 100644
--- a/include/linux/platform_data/serial-sccnxp.h
+++ b/include/linux/platform_data/serial-sccnxp.h
@@ -78,11 +78,11 @@
/* SCCNXP platform data structure */
struct sccnxp_pdata {
/* Shift for A0 line */
- const u8 reg_shift;
+ u32 reg_shift;
/* Modem control lines configuration */
- const u32 mctrl_cfg[SCCNXP_MAX_UARTS];
+ u32 mctrl_cfg[SCCNXP_MAX_UARTS];
/* Timer value for polling mode (usecs) */
- const unsigned int poll_time_us;
+ u32 poll_time_us;
};
#endif