mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
spi/sparc: Allow of_register_spi_devices for sparc
The spi support code works on SPARC too. No reason to exclude it from the party. Signed-off-by: Andreas Larsson <[email protected]> Acked-by: David S. Miller <[email protected]> Signed-off-by: Grant Likely <[email protected]>
This commit is contained in:
parent
fd4a319bc9
commit
7cb943615a
1 changed files with 1 additions and 1 deletions
|
|
@ -805,7 +805,7 @@ err_init_queue:
|
|||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
#if defined(CONFIG_OF) && !defined(CONFIG_SPARC)
|
||||
#if defined(CONFIG_OF)
|
||||
/**
|
||||
* of_register_spi_devices() - Register child devices onto the SPI bus
|
||||
* @master: Pointer to spi_master device
|
||||
|
|
|
|||
Loading…
Reference in a new issue