Re: [PATCH] bus: SIMPLE_PM_BUS does not depend on ARCH_RENESAS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andy,

On Tue, Jun 13, 2017 at 10:48 PM, Andy Gross <andy.gross@xxxxxxxxxx> wrote:
> On Tue, Jun 13, 2017 at 09:04:30AM -0400, Rob Clark wrote:
>> In fact, it is needed for PCI to work on msm8996 (and probably other
>> things).  No idea why it was depending on renesas but that doesn't make
>> any sense.  So drop the dependency.
>>
>> Signed-off-by: Rob Clark <robdclark@xxxxxxxxx>
>> ---
>>  drivers/bus/Kconfig | 1 -
>>  1 file changed, 1 deletion(-)
>>
>> diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig
>> index 0a52da4..b83c535 100644
>> --- a/drivers/bus/Kconfig
>> +++ b/drivers/bus/Kconfig
>> @@ -121,7 +121,6 @@ config QCOM_EBI2
>>  config SIMPLE_PM_BUS
>>       bool "Simple Power-Managed Bus Driver"
>>       depends on OF && PM
>> -     depends on ARCH_RENESAS || COMPILE_TEST
>
> Do you really want to drop COMPILE_TEST?

As dummies are available for all pm_*() and of_*() used by simple-pm-bus.c,
I think the COMPILE_TEST can be moved one line up, i.e.

    depends on (OF && PM) || COMPILE_TEST

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux