linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: elscha@freenet.de (Elscha)
To: linux-arm-kernel@lists.infradead.org
Subject: [Patch] ARM/Mediatek SoC: Remove useless dependency from UX500_SOC_ID to COMPILE_TEST
Date: Sun, 24 Sep 2017 17:58:48 +0200	[thread overview]
Message-ID: <59C7D638.9070702@freenet.de> (raw)

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

                 reply	other threads:[~2017-09-24 15:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=59C7D638.9070702@freenet.de \
    --to=elscha@freenet.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).