summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/serial-sccnxp.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-02 11:25:19 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-02 11:25:19 +0400
commit461a8ecb2d76fb6f3ac1a90eb886697db869d387 (patch)
tree476aeba66ba0cb3649ba1669ce8b85b29ed34e46 /include/linux/platform_data/serial-sccnxp.h
parent3ba35baa55fa4420f9ea7132d728ed68cfa37d28 (diff)
downloadlinux-461a8ecb2d76fb6f3ac1a90eb886697db869d387.tar.xz
Revert "serial: sccnxp: Add DT support"
This reverts commit 85c996907473e4ef824774b97b26499adf66521f. Alexander wishes to remove this patch as it is incorrect. Reported-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 98373d6add27..af0c8c3b89ae 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 */
- u32 reg_shift;
+ const u8 reg_shift;
/* Modem control lines configuration */
- u32 mctrl_cfg[SCCNXP_MAX_UARTS];
+ const u32 mctrl_cfg[SCCNXP_MAX_UARTS];
/* Timer value for polling mode (usecs) */
- u32 poll_time_us;
+ const unsigned int poll_time_us;
};
#endif