diff options
Diffstat (limited to 'include/linux/serial_sci.h')
| -rw-r--r-- | include/linux/serial_sci.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/serial_sci.h b/include/linux/serial_sci.h index 1c297ddc9d5a..baed2122c5a6 100644 --- a/include/linux/serial_sci.h +++ b/include/linux/serial_sci.h | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | #define __LINUX_SERIAL_SCI_H | 2 | #define __LINUX_SERIAL_SCI_H |
| 3 | 3 | ||
| 4 | #include <linux/serial_core.h> | 4 | #include <linux/serial_core.h> |
| 5 | #include <linux/sh_dma.h> | ||
| 5 | 6 | ||
| 6 | /* | 7 | /* |
| 7 | * Generic header for SuperH SCI(F) (used by sh/sh64/h8300 and related parts) | 8 | * Generic header for SuperH SCI(F) (used by sh/sh64/h8300 and related parts) |
| @@ -16,6 +17,8 @@ enum { | |||
| 16 | SCIx_NR_IRQS, | 17 | SCIx_NR_IRQS, |
| 17 | }; | 18 | }; |
| 18 | 19 | ||
| 20 | struct device; | ||
| 21 | |||
| 19 | /* | 22 | /* |
| 20 | * Platform device specific platform_data struct | 23 | * Platform device specific platform_data struct |
| 21 | */ | 24 | */ |
| @@ -26,6 +29,11 @@ struct plat_sci_port { | |||
| 26 | unsigned int type; /* SCI / SCIF / IRDA */ | 29 | unsigned int type; /* SCI / SCIF / IRDA */ |
| 27 | upf_t flags; /* UPF_* flags */ | 30 | upf_t flags; /* UPF_* flags */ |
| 28 | char *clk; /* clock string */ | 31 | char *clk; /* clock string */ |
| 32 | struct device *dma_dev; | ||
| 33 | #ifdef CONFIG_SERIAL_SH_SCI_DMA | ||
| 34 | unsigned int dma_slave_tx; | ||
| 35 | unsigned int dma_slave_rx; | ||
| 36 | #endif | ||
| 29 | }; | 37 | }; |
| 30 | 38 | ||
| 31 | #endif /* __LINUX_SERIAL_SCI_H */ | 39 | #endif /* __LINUX_SERIAL_SCI_H */ |
