spi: omap2: use SUPERH, not SH
PATCH 1/1 spi: omap2: use SUPERH, not SH
Commit 0079aae0f1e6 ("spi: omap2: Add build dependencies for writel_relaxed()") added an optional Kconfig dependency on SH. That Kconfig symbol doesn't exist. Apparently SUPERH was intended. Use that.
---
Basically untested.
drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/Kconfig +1 -1
@@ -307,7 +307,7 @@ config SPI_OMAP_UWIRE config SPI_OMAP24XX tristate "McSPI driver for OMAP" - depends on ARM || ARM64 || AVR32 || HEXAGON || MIPS || SH + depends on ARM || ARM64 || AVR32 || HEXAGON || MIPS || SUPERH depends on ARCH_OMAP2PLUS || COMPILE_TEST help SPI master controller for OMAP24XX and later Multichannel SPI
Signature · 1 line
1.8.5.3
Quoted 5 lines · Paul Bolle
Commit
0079aae0f1e6("spi: omap2: Add build dependencies forwritel_relaxed()") added an optionalKconfigdependency on SH. ThatKconfigsymbol doesn't exist. Apparently SUPERH was intended. Use that.Signed-off-by Paul Bolle <[email protected]>
Nice catch!
BTW, MICROBLAZE can be added as well. It got writel_relaxed() in v3.14-rc1.
Quoted 11 lines
---
Basically untested.drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/spi/Kconfig +0
-0
drivers/spi/Kconfig config SPI_OMAP_UWIRE · line 313
Quoted 8 lines
drivers/spi/Kconfig +1
-1@@ -307,7 +307,7 @@ config SPI_OMAP_UWIRE config SPI_OMAP24XX tristate "McSPI driver for OMAP" - depends on ARM || ARM64 || AVR32 || HEXAGON || MIPS || SH + depends on ARM || ARM64 || AVR32 || HEXAGON || MIPS || SUPERH depends on ARCH_OMAP2PLUS || COMPILE_TEST help SPI master controller for OMAP24XX and later Multichannel SPI
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 3 lines · Paul Bolle
Commit
0079aae0f1e6("spi: omap2: Add build dependencies forwritel_relaxed()") added an optionalKconfigdependency on SH. ThatKconfigsymbol doesn't exist. Apparently SUPERH was intended. Use that.
Applied, thanks.