@@ -17,6 +17,7 @@
#include <linux/i2c.h>
#include <linux/i2c/at24.h>
#include <linux/etherdevice.h>
+#include <linux/serial_8250.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
@@ -352,6 +353,16 @@ static struct platform_device da850_pm_device = {
.id = -1,
};
+static void __init mityomapl138_init_serial(void)
+{
+ struct davinci_soc_info *soc_info = &davinci_soc_info;
+ struct device *dev = &soc_info->serial_dev->dev;
+ struct plat_serial8250_port *p = dev->platform_data;
+
+ p[1].flags |= UPF_NO_MSR;
+ davinci_serial_init(&mityomapl138_uart_config);
+}
+
static void __init mityomapl138_init(void)
{
int ret;
@@ -365,7 +376,7 @@ static void __init mityomapl138_init(void)
if (ret)
pr_warning("watchdog registration failed: %d\n", ret);
- davinci_serial_init(&mityomapl138_uart_config);
+ mityomapl138_init_serial();
ret = da8xx_register_i2c(0, &mityomap_i2c_0_pdata);
if (ret)