]> git.baikalelectronics.ru Git - kernel.git/commit
power: reset: POWER_RESET_OCELOT_RESET should depend on Ocelot or Sparx5
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 14 Oct 2020 13:14:15 +0000 (15:14 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Thu, 15 Oct 2020 19:37:59 +0000 (21:37 +0200)
commit1627449aaca5d07368b709474de1a778f3909f77
tree367eab68ac165c9869ef957b499530f4dbf0a10a
parent09bf625cce48ea9d54178787682c0ca44f040ca4
power: reset: POWER_RESET_OCELOT_RESET should depend on Ocelot or Sparx5

To add support for Sparx5, the dependency on MSCC_OCELOT was removed.
However, this increases exposure of the driver question not only to
Sparx5 platforms, but to everyone.  Hence re-add the dependency on
MSCC_OCELOT, and extend it with ARCH_SPARX5, to prevent asking the user
about this driver when configuring a kernel without Ocelot and Sparx5
support.

Fixes: 66b612827434ba57 ("power: reset: ocelot: Add support for Sparx5")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/reset/Kconfig