diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-11-01 07:50:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-11-01 07:50:43 -0400 |
commit | 90ae83f7fc32733e5829d806306c0c590f1a383f (patch) | |
tree | 5b4cd7290c70d9899ca7caa99998395218b15cab /include | |
parent | 47c5ba53bc5e5f88b5d1bbb97acd25afc27f74eb (diff) | |
parent | 65289d6345d93abd860e43fd2119ac176d6cc697 (diff) | |
download | kernel_samsung_crespo-90ae83f7fc32733e5829d806306c0c590f1a383f.zip kernel_samsung_crespo-90ae83f7fc32733e5829d806306c0c590f1a383f.tar.gz kernel_samsung_crespo-90ae83f7fc32733e5829d806306c0c590f1a383f.tar.bz2 |
Merge branch 'next-spi' of git://git.secretlab.ca/git/linux-2.6
* 'next-spi' of git://git.secretlab.ca/git/linux-2.6:
spi/pl022: fix erroneous platform data in U300
spi: fixed odd static string conventions in core code
spi/bfin_spi: only request GPIO on first load
spi/bfin_spi: handle error/status changes after data interrupts
spi: enable spi_board_info to be registered after spi_master
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/spi/spi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h index 92e52a1..b4d7710 100644 --- a/include/linux/spi/spi.h +++ b/include/linux/spi/spi.h @@ -204,6 +204,7 @@ static inline void spi_unregister_driver(struct spi_driver *sdrv) /** * struct spi_master - interface to SPI master controller * @dev: device interface to this driver + * @list: link with the global spi_master list * @bus_num: board-specific (and often SOC-specific) identifier for a * given SPI controller. * @num_chipselect: chipselects are used to distinguish individual @@ -238,6 +239,8 @@ static inline void spi_unregister_driver(struct spi_driver *sdrv) struct spi_master { struct device dev; + struct list_head list; + /* other than negative (== assign one dynamically), bus_num is fully * board-specific. usually that simplifies to being SOC-specific. * example: one SOC has three SPI controllers, numbered 0..2, |