All of lore.kernel.org
 help / color / mirror / Atom feed
* [Patch] ARM/Mediatek SoC: Remove useless dependency from UX500_SOC_ID to COMPILE_TEST
@ 2017-09-24 15:58 ` Elscha
  0 siblings, 0 replies; 2+ messages in thread
From: Elscha @ 2017-09-24 15:58 UTC (permalink / raw)
  To: linux-arm-kernel, linux-mediatek

Remove useless dependency from UX500_SOC_ID to COMPILE_TEST

* This dependency is ignored by the Kbuild scripts (more precisely in
   drivers/soc/Makefile, line 25). Thus, enabling COMPILE_TEST if ARCH_U8500
   is disabled has no effect.
* Further, this code file depends on an ARM specific header (e.g. cputype.h
   in line 18 is specific to the ARM and Unicore32 architectures). Thus,
   compiling this file on other architectures than ARM will result in
   compilation errors.

Signed-off-by:  Sascha El-Sharkawy<elscha@freenet.de>
---
  drivers/soc/ux500/Kconfig |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/ux500/Kconfig b/drivers/soc/ux500/Kconfig
index 025a44a..49ed883 100644
--- a/drivers/soc/ux500/Kconfig
+++ b/drivers/soc/ux500/Kconfig
@@ -1,6 +1,6 @@
  config UX500_SOC_ID
  	bool "SoC bus for ST-Ericsson ux500"
-	depends on ARCH_U8500 || COMPILE_TEST
+	depends on ARCH_U8500
  	default ARCH_U8500
  	help
  	  Include support for the SoC bus on the ARM RealView platforms

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Patch] ARM/Mediatek SoC: Remove useless dependency from UX500_SOC_ID to COMPILE_TEST
@ 2017-09-24 15:58 ` Elscha
  0 siblings, 0 replies; 2+ messages in thread
From: Elscha @ 2017-09-24 15:58 UTC (permalink / raw)
  To: linux-arm-kernel

Remove useless dependency from UX500_SOC_ID to COMPILE_TEST

* This dependency is ignored by the Kbuild scripts (more precisely in
   drivers/soc/Makefile, line 25). Thus, enabling COMPILE_TEST if ARCH_U8500
   is disabled has no effect.
* Further, this code file depends on an ARM specific header (e.g. cputype.h
   in line 18 is specific to the ARM and Unicore32 architectures). Thus,
   compiling this file on other architectures than ARM will result in
   compilation errors.

Signed-off-by:  Sascha El-Sharkawy<elscha@freenet.de>
---
  drivers/soc/ux500/Kconfig |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/ux500/Kconfig b/drivers/soc/ux500/Kconfig
index 025a44a..49ed883 100644
--- a/drivers/soc/ux500/Kconfig
+++ b/drivers/soc/ux500/Kconfig
@@ -1,6 +1,6 @@
  config UX500_SOC_ID
  	bool "SoC bus for ST-Ericsson ux500"
-	depends on ARCH_U8500 || COMPILE_TEST
+	depends on ARCH_U8500
  	default ARCH_U8500
  	help
  	  Include support for the SoC bus on the ARM RealView platforms

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-24 15:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-24 15:58 [Patch] ARM/Mediatek SoC: Remove useless dependency from UX500_SOC_ID to COMPILE_TEST Elscha
2017-09-24 15:58 ` Elscha

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.