Re: [PATCH v2 03/22] fpga: bridge: remove OF dependency for fpga-bridge

From: Alan Tull
Date: Thu Sep 21 2017 - 15:50:56 EST


On Thu, Sep 21, 2017 at 2:11 PM, Moritz Fischer <mdf@xxxxxxxxxx> wrote:

Hi Moritz,

> Hi,
>
> On Mon, Jun 26, 2017 at 09:51:59AM +0800, Wu Hao wrote:
>> This patch removes OF dependency of fpga-bridge, it allows drivers
>> to use fpga-bridge class without device tree support.
>>
>> Signed-off-by: Wu Hao <hao.wu@xxxxxxxxx>
>> ---
>> drivers/fpga/Kconfig | 1 -
>> 1 file changed, 1 deletion(-)
>>
>> diff --git a/drivers/fpga/Kconfig b/drivers/fpga/Kconfig
>> index ed600d5..c1d8f41 100644
>> --- a/drivers/fpga/Kconfig
>> +++ b/drivers/fpga/Kconfig
>> @@ -75,7 +75,6 @@ config FPGA_MGR_ZYNQ_FPGA
>>
>> config FPGA_BRIDGE
>> tristate "FPGA Bridge Framework"
>> - depends on OF
>
> Shouldn't that dependency be removed in the patch that removes the
> dependency, or was the dependency never there in the first place?

It wasn't dependent on OF in the first place.

Thanks,
Alan

>
>> help
>> Say Y here if you want to support bridges connected between host
>> processors and FPGAs or between FPGAs.
>> --
>> 1.8.3.1
>>
>
> Thanks,
>
> Moritz