From patchwork Wed Apr 18 23:28:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evan Green X-Patchwork-Id: 10348997 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 050406031B for ; Wed, 18 Apr 2018 23:29:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EBDAB28915 for ; Wed, 18 Apr 2018 23:29:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E017128918; Wed, 18 Apr 2018 23:29:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 32B7728915 for ; Wed, 18 Apr 2018 23:29:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753126AbeDRX3T (ORCPT ); Wed, 18 Apr 2018 19:29:19 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:34658 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753050AbeDRX3R (ORCPT ); Wed, 18 Apr 2018 19:29:17 -0400 Received: by mail-pg0-f65.google.com with SMTP id p10so1587739pgn.1 for ; Wed, 18 Apr 2018 16:29:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=zJEL9bH0PR4oaBKc10K2ao3bke6IXoS3x8jBVAlYXOo=; b=PBu7q6cONsx2KNJdVO4ukBsea964A51K0kAgaEy7LNKheePAKWl0Lh2tVG6leDYoM8 rxeDUwN3QVeXabDvtVOMGkiYSt1s311BWFX/YD5fAHkhD+FJBudmFvGmtv4rycyz9tfr zMy5QojqgXgn7Xsiy7I5BEeOFXvxdtqoogB5k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=zJEL9bH0PR4oaBKc10K2ao3bke6IXoS3x8jBVAlYXOo=; b=Y8pTHUnI2dp0hV8U65RNCcWn6I+uj8dDYy9Mbr4FBXuFNgMWEU//6mwT2KKqJRI/65 etdKeHBDdoIktHMzUO91PyMB2DNkrJqWz4HNqy9Mqtf+2Z4+6PLDfaUrgvkYkAiP4rI/ EO0zjgeaa6hRMU1U0KqJagfqaNdkYPTsirdczh70qX1/T4YTwh3aTpaR8PaurHLTB6Gz DdkVxzw8+F3QB91e4UaKaUzpDnrxt5U/YD4kNy9vXhJCCrYx0RxpvGQBQ3F3f8kpwlzX mElHc0DceP6DCyABTqpdW8fcMcnLJwrHQEbqb1jvM1eaTZ/i/GUVOWjylJZc+EUxzEFA BU1g== X-Gm-Message-State: ALQs6tCjHnfBT92BDLt0HvifFW61LKdKotbo9KX/Zk/UBaefPkB/f3J7 rwmpOHb+ZqeRdejUBJZ813VV2w== X-Google-Smtp-Source: AIpwx48vrYtLNyt2KTtZPYSraj/58Lzn8bpWJ22AW2YrySJ7RCCsqBbba+qjksxqSoP3ophF0x5OEg== X-Received: by 10.99.111.206 with SMTP id k197mr3182937pgc.125.1524094157420; Wed, 18 Apr 2018 16:29:17 -0700 (PDT) Received: from evgreen2.mtv.corp.google.com ([2620:0:1000:1511:116f:8bf3:133b:f7fd]) by smtp.gmail.com with ESMTPSA id v63sm5281740pfk.8.2018.04.18.16.29.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 Apr 2018 16:29:16 -0700 (PDT) From: Evan Green To: Andy Gross , David Brown , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Guenter Roeck , Evan Green Subject: [PATCH] soc: Unconditionally include qcom Makefile Date: Wed, 18 Apr 2018 16:28:47 -0700 Message-Id: <20180418232847.17020-1-evgreen@chromium.org> X-Mailer: git-send-email 2.13.5 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Guenter Roeck Incoming Qualcomm changes for GENI, i2c [1], and cmd-db [2] are enabled with COMPILE_TEST in drivers/soc/qcom. For this to work, the Makefile in that directory has to be included unconditionally, rather than only if ARCH_QCOM is enabled. Example of the errors seen on allmodconfig with the GENI, i2c, and cmd-db patches applied: Kernel: arch/x86/boot/bzImage is ready (#1) ERROR: "geni_se_select_mode" [drivers/tty/serial/qcom_geni_serial.ko] undefined! ERROR: "geni_se_init" [drivers/tty/serial/qcom_geni_serial.ko] undefined! ERROR: "geni_se_config_packing" [drivers/tty/serial/qcom_geni_serial.ko] undefined! ERROR: "geni_se_resources_on" [drivers/tty/serial/qcom_geni_serial.ko] undefined! ERROR: "geni_se_resources_off" [drivers/tty/serial/qcom_geni_serial.ko] undefined! ERROR: "geni_se_tx_dma_unprep" [drivers/i2c/busses/i2c-qcom-geni.ko] undefined! ERROR: "geni_se_tx_dma_prep" [drivers/i2c/busses/i2c-qcom-geni.ko] undefined! ERROR: "geni_se_rx_dma_unprep" [drivers/i2c/busses/i2c-qcom-geni.ko] undefined! ERROR: "geni_se_rx_dma_prep" [drivers/i2c/busses/i2c-qcom-geni.ko] undefined! ERROR: "geni_se_select_mode" [drivers/i2c/busses/i2c-qcom-geni.ko] undefined! ERROR: "geni_se_config_packing" [drivers/i2c/busses/i2c-qcom-geni.ko] undefined! ERROR: "geni_se_init" [drivers/i2c/busses/i2c-qcom-geni.ko] undefined! ERROR: "geni_se_resources_off" [drivers/i2c/busses/i2c-qcom-geni.ko] undefined! ERROR: "geni_se_resources_on" [drivers/i2c/busses/i2c-qcom-geni.ko] undefined! make[1]: *** [scripts/Makefile.modpost:92: __modpost] Error 1 make: *** [Makefile:1237: modules] Error 2 [1] https://patchwork.ozlabs.org/cover/893437/ [2] https://lkml.org/lkml/2018/4/10/714 Signed-off-by: Guenter Roeck Signed-off-by: Evan Green Reviewed-by: Bjorn Andersson --- drivers/soc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile index 40523577bdaa..113e884697fd 100644 --- a/drivers/soc/Makefile +++ b/drivers/soc/Makefile @@ -14,7 +14,7 @@ obj-$(CONFIG_ARCH_MXC) += imx/ obj-$(CONFIG_SOC_XWAY) += lantiq/ obj-y += mediatek/ obj-$(CONFIG_ARCH_MESON) += amlogic/ -obj-$(CONFIG_ARCH_QCOM) += qcom/ +obj-y += qcom/ obj-y += renesas/ obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/ obj-$(CONFIG_SOC_SAMSUNG) += samsung/