diff options
| author | Andreas Larsson <andreas@gaisler.com> | 2012-12-04 09:09:38 -0500 |
|---|---|---|
| committer | Grant Likely <grant.likely@secretlab.ca> | 2012-12-10 17:31:37 -0500 |
| commit | 7cb943615aabbd72624f77f0a84b8c5d627cf846 (patch) | |
| tree | bd688a24ba2c58097cf1e43e99133885798144ea /drivers/spi | |
| parent | fd4a319bc933ae93e68935b21924a9ca4ba2d060 (diff) | |
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>
Diffstat (limited to 'drivers/spi')
| -rw-r--r-- | drivers/spi/spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c index 689eaf7485a..b8335a1f82e 100644 --- a/drivers/spi/spi.c +++ b/drivers/spi/spi.c | |||
| @@ -805,7 +805,7 @@ err_init_queue: | |||
| 805 | 805 | ||
| 806 | /*-------------------------------------------------------------------------*/ | 806 | /*-------------------------------------------------------------------------*/ |
| 807 | 807 | ||
| 808 | #if defined(CONFIG_OF) && !defined(CONFIG_SPARC) | 808 | #if defined(CONFIG_OF) |
| 809 | /** | 809 | /** |
| 810 | * of_register_spi_devices() - Register child devices onto the SPI bus | 810 | * of_register_spi_devices() - Register child devices onto the SPI bus |
| 811 | * @master: Pointer to spi_master device | 811 | * @master: Pointer to spi_master device |
