diff options
author | Enric Balletbo i Serra <[email protected]> | 2020-04-13 16:10:13 +0200 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2020-11-15 18:24:36 +0100 |
commit | 3fcce133f0d9a50d3a23f8e2bc950197b4e03900 (patch) | |
tree | 8ab34208b0f50aa2f13017d360b196261f3f0c35 /lib/mpi/mpi-cmp.c | |
parent | b7ee5bc3e1006433601a058a6a7c24c5272635f4 (diff) |
can: tcan4x5x: replace depends on REGMAP_SPI with depends on SPI
regmap is a library function that gets selected by drivers that need it. No
driver modules should depend on it. Instead depends on SPI and select
REGMAP_SPI. Depending on REGMAP_SPI makes this driver only build if another
driver already selected REGMAP_SPI, as the symbol can't be selected through the
menu kernel configuration.
Signed-off-by: Enric Balletbo i Serra <[email protected]>
Link: http://lore.kernel.org/r/[email protected]
Reviewed-by: Dan Murphy <[email protected]>
Fixes: 5443c226ba91 ("can: tcan4x5x: Add tcan4x5x driver to the kernel")
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions