aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2011-03-18 05:41:17 -0400
committerGrant Likely <grant.likely@secretlab.ca>2011-03-18 11:50:50 -0400
commit46165a3d00db7526fb43a3dfe5c01a4aa7e236af (patch)
tree33516584a1bf2d109bebdc74a686b3f8936391bd /include
parent84bead6c38b0374e6e7db06b3097f0e700b8f148 (diff)
spi/dw_spi: Fix missing header
Currently, build on PPC dies with: In file included from drivers/spi/dw_spi_mmio.c:16: include/linux/spi/dw_spi.h:147: error: field ‘tx_sgl’ has incomplete type include/linux/spi/dw_spi.h:149: error: field ‘rx_sgl’ has incomplete type Add linux/scatterlist.h include to dw_spi.h, because we need to know the contents of the structure. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'include')
-rw-r--r--include/linux/spi/dw_spi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/spi/dw_spi.h b/include/linux/spi/dw_spi.h
index 6cd10f6ad472..fb0bce564844 100644
--- a/include/linux/spi/dw_spi.h
+++ b/include/linux/spi/dw_spi.h
@@ -2,6 +2,7 @@
2#define DW_SPI_HEADER_H 2#define DW_SPI_HEADER_H
3 3
4#include <linux/io.h> 4#include <linux/io.h>
5#include <linux/scatterlist.h>
5 6
6/* Bit fields in CTRLR0 */ 7/* Bit fields in CTRLR0 */
7#define SPI_DFS_OFFSET 0 8#define SPI_DFS_OFFSET 0