Re: [RFC PATCH 3/7] spi: tegra: remove redundant "depends on RESET_CONTROLLER"

From: Masahiro Yamada
Date: Fri Nov 06 2015 - 01:03:14 EST


2015-11-05 20:50 GMT+09:00 Mark Brown <broonie@xxxxxxxxxx>:
> On Thu, Nov 05, 2015 at 08:15:24PM +0900, Masahiro Yamada wrote:
>> ARCH_TEGRA selects RESET_CONTROLLER.
>> The dependency "depends on RESET_CONTROLLER" is already met.
>
>> tristate "NVIDIA Tegra114 SPI Controller"
>> depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
>> - depends on RESET_CONTROLLER && HAS_DMA
>> + depends on HAS_DMA
>
> Again, this driver doesn't depend on ARCH_TEGRA.

How come?

Sorry, I have not been tracking this sub-system,
so I do not get the "Again".


The prompt says "NVIDIA Tegra114 SPI Controller".

It sounds natural for me that this driver depends on ARCH_TEGRA.
No?



--
Best Regards
Masahiro Yamada
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/