Re: [RFC PATCH 2/7] spi: sunxi: remove redundant "depends on RESET_CONTROLLER"

From: Mark Brown
Date: Thu Nov 05 2015 - 07:07:19 EST


On Thu, Nov 05, 2015 at 08:15:23PM +0900, Masahiro Yamada wrote:
> ARCH_SUNXI selects RESET_CONTROLLER.
> The dependency "depends on RESET_CONTROLLER" is already met.

No, it isn't.

> config SPI_SUN6I
> tristate "Allwinner A31 SPI controller"
> depends on ARCH_SUNXI || COMPILE_TEST
> - depends on RESET_CONTROLLER

The dependency is on ARCH_SUNXI || COMPILE_TEST which is not the same as
ARCH_SUNXI.

Attachment: signature.asc
Description: PGP signature