diff options
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/dma-hsu.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/linux/platform_data/dma-hsu.h b/include/linux/platform_data/dma-hsu.h new file mode 100644 index 000000000000..8a1f6a4920b2 --- /dev/null +++ b/include/linux/platform_data/dma-hsu.h | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | /* | ||
| 2 | * Driver for the High Speed UART DMA | ||
| 3 | * | ||
| 4 | * Copyright (C) 2015 Intel Corporation | ||
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | ||
| 10 | |||
| 11 | #ifndef _PLATFORM_DATA_DMA_HSU_H | ||
| 12 | #define _PLATFORM_DATA_DMA_HSU_H | ||
| 13 | |||
| 14 | #include <linux/device.h> | ||
| 15 | |||
| 16 | struct hsu_dma_slave { | ||
| 17 | struct device *dma_dev; | ||
| 18 | int chan_id; | ||
| 19 | }; | ||
| 20 | |||
| 21 | struct hsu_dma_platform_data { | ||
| 22 | unsigned short nr_channels; | ||
| 23 | }; | ||
| 24 | |||
| 25 | #endif /* _PLATFORM_DATA_DMA_HSU_H */ | ||
