Skip to contentSkip to conversation

gpio: em: depnd on ARCH_SHMOBILE

PATCH Superseded Peter Robinson 2 participants 4 messages Nov 6, 2016 – Nov 8, 2016 GPIO

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: em: depnd on ARCH_SHMOBILE

The GPIO_EM is part of the Renesas SoCs so depend on the arch.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index d011cb8..76e6c80 100644
@@ -171,7 +171,7 @@ config GPIO_DWAPB
 
 config GPIO_EM
 	tristate "Emma Mobile GPIO"
-	depends on ARM && OF_GPIO
+	depends on ARCH_SHMOBILE && OF_GPIO
 	help
 	  Say yes here to support GPIO on Renesas Emma Mobile SoCs.
 
Signature · 1 line
2.9.3
#2 lore raw
Quoted 7 lines · Linus Walleij
Quoted 3 lines · Peter Robinson

The GPIO_EM is part of the Renesas SoCs so depend on the arch.

What about also enabling COMPILE_TEST?

Happy to, never really know the rule of thumb on COMPILE_TEST, the decision to enable it always seems somewhat arbitrary (almost like it should be an option for all drivers when run in that mode as opposed to explicitly adding an option).

Peter

#3 lore raw
Quoted 5 lines · Peter Robinson
Quoted 4 lines · Linus Walleij
Quoted 2 lines · Peter Robinson

The GPIO_EM is part of the Renesas SoCs so depend on the arch.

Quoted 8 lines
Quoted 3 lines
Quoted 1 line

What about also enabling COMPILE_TEST?

Happy to, never really know the rule of thumb on COMPILE_TEST, the decision to enable it always seems somewhat arbitrary (almost like it should be an option for all drivers when run in that mode as opposed to explicitly adding an option).

I think in these patches ask:

- Did it compile a lot before the change and get a lot of coverage?

- Does it compile less after this change?

- Then add COMPILE_TEST so we can get that coverage back when needed for test.

I do understand the point of not pushing a lot of options and pointless compilation and modules in the face of everyone in the world, just that the compile farms still need to churn these drivers.

Yours,
Linus Walleij