diff options
author | Felipe Balbi <balbi@ti.com> | 2012-09-06 08:45:38 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-06 12:17:02 -0400 |
commit | d21e4005e4a4c24939f239b49862e6b0852e9169 (patch) | |
tree | b71be4255dee1929f2b361b0bc7f3d4ec6b390a5 /drivers | |
parent | 957ee7270d632245b43f6feb0e70d9a5e9ea6cf6 (diff) |
serial: omap: remove unnecessary header and add a missing one
this driver doesn't use any from <plat/dmtimer.h>, so
we can remove it without any problems.
This will, however cause a problem because omap-serial.c
was relying on indirect inclusion of <linux/platform_device.h>,
let's fix the issue by including <linux/platform_device.h>
on omap-serial.c as it should be.
Tested-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/tty/serial/omap-serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index 1ba1f439a5b0..881b652220b4 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/drivers/tty/serial/omap-serial.c | |||
@@ -32,6 +32,7 @@ | |||
32 | #include <linux/slab.h> | 32 | #include <linux/slab.h> |
33 | #include <linux/tty.h> | 33 | #include <linux/tty.h> |
34 | #include <linux/tty_flip.h> | 34 | #include <linux/tty_flip.h> |
35 | #include <linux/platform_device.h> | ||
35 | #include <linux/io.h> | 36 | #include <linux/io.h> |
36 | #include <linux/clk.h> | 37 | #include <linux/clk.h> |
37 | #include <linux/serial_core.h> | 38 | #include <linux/serial_core.h> |
@@ -40,7 +41,6 @@ | |||
40 | #include <linux/of.h> | 41 | #include <linux/of.h> |
41 | #include <linux/gpio.h> | 42 | #include <linux/gpio.h> |
42 | 43 | ||
43 | #include <plat/dmtimer.h> | ||
44 | #include <plat/omap-serial.h> | 44 | #include <plat/omap-serial.h> |
45 | 45 | ||
46 | #define UART_BUILD_REVISION(x, y) (((x) << 8) | (y)) | 46 | #define UART_BUILD_REVISION(x, y) (((x) << 8) | (y)) |