diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-09-16 00:35:13 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-09-21 10:13:18 +0200 |
commit | 2640aaa4f6bd251883eddb4722676661e0439303 (patch) | |
tree | e239a82147ee08764b820c713b449cb2e96bb756 /drivers/net/can/spi | |
parent | can: pcan_usb: add support of rxerr/txerr counters (diff) | |
download | linux-2640aaa4f6bd251883eddb4722676661e0439303.tar.xz linux-2640aaa4f6bd251883eddb4722676661e0439303.zip |
can: spi: Kconfig: remove unneeded dependencies form Kconfig symbols
Since commits
653ee35ce6d5 ("can: hi311x: remove custom DMA mapped buffer")
Fixes: df58525df395 ("can: mcp251x: remove custom DMA mapped buffer")
both the hi3111x and the mcp251x driver don't make use of the DMA API
any more. So we can safely remove the HAS_DMA dependency.
While we're here, remove the unneeded CAN_DEV and SPI dependencies from
the CAN_HI311X symbol, as the parent menus already have these
dependencies.
Link: https://lore.kernel.org/r/20200915223527.1417033-24-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/spi')
-rw-r--r-- | drivers/net/can/spi/Kconfig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/can/spi/Kconfig b/drivers/net/can/spi/Kconfig index f780c79aac6f..a332008d8495 100644 --- a/drivers/net/can/spi/Kconfig +++ b/drivers/net/can/spi/Kconfig @@ -4,13 +4,11 @@ menu "CAN SPI interfaces" config CAN_HI311X tristate "Holt HI311x SPI CAN controllers" - depends on CAN_DEV && SPI && HAS_DMA help Driver for the Holt HI311x SPI CAN controllers. config CAN_MCP251X tristate "Microchip MCP251x and MCP25625 SPI CAN controllers" - depends on HAS_DMA help Driver for the Microchip MCP251x and MCP25625 SPI CAN controllers. |