mirror of https://gitee.com/openkylin/linux.git
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 <andreas@gaisler.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
parent
fd4a319bc9
commit
7cb943615a
|
@ -805,7 +805,7 @@ static int spi_master_initialize_queue(struct spi_master *master)
|
|||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
#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 New Issue