From: Feng Tang Date: Mon, 2 Aug 2010 07:52:15 +0000 (+0800) Subject: spi: enable spi_board_info to be registered after spi_master X-Git-Tag: v2.6.37-rc1~2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b9603a0d7e395fb844af90fba71448bc8019077;p=pandora-kernel.git 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 Signed-off-by: Grant Likely --- Reading git-diff-tree failed