summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-11-18 17:21:32 +0300
committerMark Brown <broonie@kernel.org>2015-11-18 20:52:38 +0300
commita0067db36a2f9733a2e956a44ef8145e6a809bdb (patch)
treeb76e540559f2806c327a8aeee731ac96573b4fa7 /include/linux/platform_data
parent8005c49d9aea74d382f474ce11afbbc7d7130bec (diff)
downloadlinux-a0067db36a2f9733a2e956a44ef8145e6a809bdb.tar.xz
spi: s3c64xx: pass DMA arguments in platform data
The s3c64xx platform data already contains a pointer to the DMA filter function, but not to the associated data. This simplifies the code and makes it more generic by passing the data along with the filter function like we do for other drivers. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/spi-s3c64xx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/platform_data/spi-s3c64xx.h b/include/linux/platform_data/spi-s3c64xx.h
index d3889b98a1a1..fb5625bcca9a 100644
--- a/include/linux/platform_data/spi-s3c64xx.h
+++ b/include/linux/platform_data/spi-s3c64xx.h
@@ -40,6 +40,8 @@ struct s3c64xx_spi_info {
int num_cs;
int (*cfg_gpio)(void);
dma_filter_fn filter;
+ void *dma_tx;
+ void *dma_rx;
};
/**