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