aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-06-13 16:24:39 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-14 06:48:48 -0400
commit92c8f7c0e109d2fcff607a13dd7c1437d6c9f87a (patch)
tree3c329324e18e45a1b366800067892201b7f98e45 /include/linux/platform_data
parent274a5ed6d8ca16f65bccdce95a14ecf29ff81764 (diff)
tty/serial: atmel: make the driver DT only
Now that AVR32 is gone, platform_data are not used to initialize the driver anymore, remove that path from the driver. Also remove the now unused struct atmel_uart_data. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Richard Genoud <richard.genoud@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/atmel.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/platform_data/atmel.h b/include/linux/platform_data/atmel.h
index 3c8825b67298..d36bc8d17e97 100644
--- a/include/linux/platform_data/atmel.h
+++ b/include/linux/platform_data/atmel.h
@@ -9,7 +9,6 @@
9 9
10#include <linux/mtd/nand.h> 10#include <linux/mtd/nand.h>
11#include <linux/mtd/partitions.h> 11#include <linux/mtd/partitions.h>
12#include <linux/serial.h>
13 12
14 /* Compact Flash */ 13 /* Compact Flash */
15struct at91_cf_data { 14struct at91_cf_data {
@@ -42,15 +41,6 @@ struct atmel_nand_data {
42 bool need_reset_workaround; 41 bool need_reset_workaround;
43}; 42};
44 43
45 /* Serial */
46struct atmel_uart_data {
47 int num; /* port num */
48 short use_dma_tx; /* use transmit DMA? */
49 short use_dma_rx; /* use receive DMA? */
50 void __iomem *regs; /* virt. base address, if any */
51 struct serial_rs485 rs485; /* rs485 settings */
52};
53
54/* FIXME: this needs a better location, but gets stuff building again */ 44/* FIXME: this needs a better location, but gets stuff building again */
55extern int at91_suspend_entering_slow_clock(void); 45extern int at91_suspend_entering_slow_clock(void);
56 46