diff options
author | Feng Tang <feng.tang@intel.com> | 2010-08-02 15:52:15 +0800 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-10-21 23:52:16 -0600 |
commit | 2b9603a0d7e395fb844af90fba71448bc8019077 (patch) | |
tree | b828ff7c6819766e92dd304eb5e63e12527e516a /drivers/spi/spi_s3c24xx_fiq.S | |
parent | d4429f608abde89e8bc1e24b43cd503feb95c496 (diff) | |
download | blackbird-op-linux-2b9603a0d7e395fb844af90fba71448bc8019077.tar.gz blackbird-op-linux-2b9603a0d7e395fb844af90fba71448bc8019077.zip |
spi: enable spi_board_info to be registered after spi_master
Currently spi_register_board_info() has to be called before its related
spi_master be registered, otherwise these board info will be just ignored.
This patch will remove this order limit, it adds a global spi master list
like the existing global board info listr. Whenever a board info or a
spi_master is registered, the spi master list or board info list
will be scanned, and a new spi device will be created if there is a
master-board info match.
Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/spi_s3c24xx_fiq.S')
0 files changed, 0 insertions, 0 deletions