Re: [PATCH v2] clocksource: atmel-st: select MFD_SYSCON

From: Daniel Lezcano
Date: Thu Mar 19 2015 - 09:26:13 EST


On 03/19/2015 02:17 PM, Alexandre Belloni wrote:
Enforce MFD_SYSCON selection as the driver needs it. Else, it will still
compile with some warning about X1, x2 or sr being used uninitialized.

Reported-by: fengguang.wu@xxxxxxxxx
Signed-off-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxxxxxxxxx>
---
Daniel,

I think this should go through the at91 tree as the patch introducing that issue
went there.

Ok.

Acked-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>

drivers/clocksource/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 168035883afa..55aef6f89074 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -146,6 +146,7 @@ config ATMEL_PIT
config ATMEL_ST
bool
select CLKSRC_OF
+ select MFD_SYSCON

config CLKSRC_METAG_GENERIC
def_bool y if METAG



--
<http://www.linaro.org/> Linaro.org â Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

--
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/