summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi_bfin5xx.c
diff options
context:
space:
mode:
authorFeng Tang <feng.tang@intel.com>2010-08-02 09:52:15 +0200
committerGrant Likely <grant.likely@secretlab.ca>2010-10-22 07:52:16 +0200
commit2b9603a0d7e395fb844af90fba71448bc8019077 (patch)
treeb828ff7c6819766e92dd304eb5e63e12527e516a /drivers/spi/spi_bfin5xx.c
parentMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/pow... (diff)
downloadlinux-2b9603a0d7e395fb844af90fba71448bc8019077.tar.xz
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_bfin5xx.c')
0 files changed, 0 insertions, 0 deletions