2 /* FIXME driver should be able to handle all four slaves that
3 * can be hooked up to each chipselect, as well as IRQs...
6 struct mcp23s08_platform_data
{
7 /* four slaves can share one SPI chipselect */
10 /* number assigned to the first GPIO */
13 /* pins with pullups */
16 void *context
; /* param to setup/teardown */
18 int (*setup
)(struct spi_device
*spi
,
19 int gpio
, unsigned ngpio
,
21 int (*teardown
)(struct spi_device
*spi
,
22 int gpio
, unsigned ngpio
,