spi/dw_spi: Fix missing header
authorJiri Slaby <jslaby@suse.cz>
Fri, 18 Mar 2011 09:41:17 +0000 (10:41 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 18 Mar 2011 15:50:50 +0000 (09:50 -0600)
commit46165a3d00db7526fb43a3dfe5c01a4aa7e236af
tree33516584a1bf2d109bebdc74a686b3f8936391bd
parent84bead6c38b0374e6e7db06b3097f0e700b8f148
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>
include/linux/spi/dw_spi.h