]> git.baikalelectronics.ru Git - kernel.git/commit
of/spi: Fix OF-style driver binding of spi devices
authorSinan Akman <sinan@writeme.com>
Sun, 3 Oct 2010 03:28:29 +0000 (21:28 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Sun, 3 Oct 2010 03:28:29 +0000 (21:28 -0600)
commit27158bea6b6e892f05090c5a0e69580c213c5909
treee46d95355ecae82f6646684b83269a2dda09036c
parenta9fd18054b7eb6693e179ed144bf5b207aac5fe0
of/spi: Fix OF-style driver binding of spi devices

This patch adds the OF hook to the spi core so that devices
can automatically be registered based on device tree data.  This fixes
a problem with spi devices not binding to drivers after the cleanup of
the spi & i2c binding code.

Signed-off-by: Sinan Akman <sinan@writeme.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi.c