lkml.org 
[lkml]   [2017]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] add missing "source" line for firmware subdirectory in drivers/Kconfig
From
Date
Am 28.11.2017 um 18:09 schrieb Randy Dunlap:
> On 11/27/2017 11:12 PM, Heiner Kallweit wrote:
>> I have a little bit of a hard time to find the right addressee for
>> this patch because there is no maintainer entry for drivers/firmware.
>> Can you apply the following through your tree?
>>
>> Add missing entry for firmware subdirectory in drivers/Kconfig.
>>
>> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>]
>
> Hi,
> Why do you need this patch? You should explain that in the (missing)
> patch description.
>
> I suppose that it could be done like this, but currently any $ARCH that
> wants to use drivers/firmware/Kconfig does so in the arch/$ARCH/Kconfig file:
>
> arch> grep firmware/Kconfig */Kconfig
> arm/Kconfig:source "arch/arm/firmware/Kconfig"
> arm/Kconfig:source "drivers/firmware/Kconfig"
> arm64/Kconfig:source "drivers/firmware/Kconfig"
> blackfin/Kconfig:source "drivers/firmware/Kconfig"
> ia64/Kconfig:source "drivers/firmware/Kconfig"
> mips/Kconfig:source "drivers/firmware/Kconfig"
> x86/Kconfig:source "drivers/firmware/Kconfig"
>
> so all of these would need to be removed.
>
Thanks for the hints!
Reason is that I received an error report for a patch, and this error report
was about a problem with compiling scpi clk driver with COMPILE_TEST on a
xtensa platform. And the scpi clk driver depends on the scpi driver under
drivers/firmware.
Based on what you explained and after fixing the dependency for the scpi
clk driver the proposed patch shouldn't be needed any longer.

Thanks, Heiner

>> ---
>> drivers/Kconfig | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/drivers/Kconfig b/drivers/Kconfig
>> index 152744c5e..a506867d9 100644
>> --- a/drivers/Kconfig
>> +++ b/drivers/Kconfig
>> @@ -39,6 +39,8 @@ source "drivers/message/fusion/Kconfig"
>>
>> source "drivers/firewire/Kconfig"
>>
>> +source "drivers/firmware/Kconfig"
>> +
>> source "drivers/macintosh/Kconfig"
>>
>> source "drivers/net/Kconfig"
>>
>
>

\
 
 \ /
  Last update: 2017-11-28 20:37    [W:0.095 / U:1.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site