Skip to content

Commit

Permalink
spi/sparc: Allow of_register_spi_devices for sparc
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andreas Larsson authored and Grant Likely committed Dec 10, 2012
1 parent fd4a319 commit 7cb9436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/spi/spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7cb9436

Please sign in to comment.