summaryrefslogtreecommitdiff
path: root/drivers/spi/xilinx_spi.h
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2010-10-14 08:54:55 -0600
committerGrant Likely <grant.likely@secretlab.ca>2010-11-09 21:41:27 -0700
commit91565c4068042b3d8e37e64e393ca105476419bd (patch)
tree3281cb89e60641766c8cfe94ebf4fbe47baa54f0 /drivers/spi/xilinx_spi.h
parentf6614b7bb405a9b35dd28baea989a749492c46b2 (diff)
spi/xilinx: Eliminate pdata references from common code.
The current code has the OF binding modifying the platform_data pointer which it must not do, and the common code doesn't really need to use a pdata pointer. This patch eliminates the platform_data references from the common part of the driver in preparation for merging the OF and non-OF versions. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Tested-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'drivers/spi/xilinx_spi.h')
-rw-r--r--drivers/spi/xilinx_spi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/xilinx_spi.h b/drivers/spi/xilinx_spi.h
index d211accf68d2..d710a33f569f 100644
--- a/drivers/spi/xilinx_spi.h
+++ b/drivers/spi/xilinx_spi.h
@@ -26,7 +26,7 @@
#define XILINX_SPI_NAME "xilinx_spi"
struct spi_master *xilinx_spi_init(struct device *dev, struct resource *mem,
- u32 irq, s16 bus_num);
+ u32 irq, s16 bus_num, int num_cs, int little_endian, int bits_per_word);
void xilinx_spi_deinit(struct spi_master *master);
#endif