Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp619141imm; Wed, 13 Jun 2018 05:57:40 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLUg0V/8H7gZyLtX9h13AppH0nC2zn3GcYu4pKhg+EX5BzHMwUPH0b9cghSV4EPlHsDnKwy X-Received: by 2002:a65:4eca:: with SMTP id w10-v6mr4014770pgq.13.1528894660859; Wed, 13 Jun 2018 05:57:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528894660; cv=none; d=google.com; s=arc-20160816; b=TFZ2VvZEUukMt9DZA/PFv3gvitH7YQlhmpgdz9TTOpEqdXB1ypllapMEcNzEz9JV3o CqHrYQdyrpKwS9FnwiWrJe/Uk5J6XWmyQ7BZWRL1ABZa8IpTDpvbwG04W+7O4Run2bBj NysEe3CQTb+1LL86RTWGfEZojZkQtpGydg2ndedwMjq8lFMQ9EG05tVkIa81gGsKReMC DQNZWAJ/5hpmuJdCvtyqhnn+WfJ6NGda3mPMP5KtRQxaLoUyGViPkCREIn7GBmItFOwX qhW4w19inw7k9hawfsJZUMcIyqQvDRRLEFHp4qsZHWDDWTKVzKv1lLwSLFiVijfor+sj Wapw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=OLH0hJwQ8RwvhYHIJtBDADe36nWSDQszwbIGDDuCigE=; b=mAabWIfupk6dbJWB+SciJ9EEuXHzTrzY7aiikjYxyJsw9gI3VqywQxWxiE+eVCDW+A XlmQakEryDC8IW5hZdvMnGTC2BrnzbgeBbDUSY9cUYoCLQy5D7TQI6/TO60VaOdh0/KX zgNA+3mUiXYsnQL6iWalFzBawEDcDEzoPUA8LYs4kEdifQMgCLXqDsh3lkaos5oqO4Mz mKo8OuI0SJLEj0UrJiHvI+lKVT8yMg8WDMUDHSBqJw0RL87A7Mpyv302sBmik+3Iwrhs GI6A8iMp9W1i0vhCt0YVK1quqrkwgmFQ+2jqXkXLYUYqdTFdVoIAzVIsHapIrNoUqpDd uK7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EPFgj82M; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t17-v6si2405285pgb.465.2018.06.13.05.57.26; Wed, 13 Jun 2018 05:57:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EPFgj82M; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935605AbeFMM4Q (ORCPT + 99 others); Wed, 13 Jun 2018 08:56:16 -0400 Received: from mail-lf0-f45.google.com ([209.85.215.45]:37547 "EHLO mail-lf0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935608AbeFMMzY (ORCPT ); Wed, 13 Jun 2018 08:55:24 -0400 Received: by mail-lf0-f45.google.com with SMTP id g21-v6so3794315lfb.4 for ; Wed, 13 Jun 2018 05:55:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=OLH0hJwQ8RwvhYHIJtBDADe36nWSDQszwbIGDDuCigE=; b=EPFgj82M3Rq+yQA7dvMSIg4TyN4llg9rorKu+fLpiGlhkOCplhu3Y3s3nauTWyWgsG rJAB3VP3RPkLRtEL4RgTcYwOK5CdYgEohYjLDFBJpBaBLeT8v5+m9gEzJ8Gwh1LRAuOc aeFLMBj31aMJNIDoqDhAmR+ktJf56WVk4B4mU= 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:in-reply-to :references; bh=OLH0hJwQ8RwvhYHIJtBDADe36nWSDQszwbIGDDuCigE=; b=QWSQv8/RGp4xAZLLnfXVKCffMfYL5jNzhxsuB1qspj7KXfOlwicNk8QE4UoLj2+k8A RfByaRHn+v0p3ULKuDwg0vUGCnniwIjzGW8l5fv8O4v8xchWYgvJw+2oTCF7o+jfXXnq ifBKiL9ee7l8jLuC0NfvNfJQdMRqI5rqZvwqWm3fXuxuCEhBj5M1Hp8SyLFSN3OWwcjb Z9s7kRiodJS+mS5d8Fumh7tIkqYCqnd+wAGQzFAV8Wl5Fs9xcYghjDn31h1zYsWdMdzf q2VlKEUvDBsnCbDsYVOnjIqvT44h2q8+aEd1zNSM/3+VipQSxglVDa2aGrSRTPcrQpd5 +MuQ== X-Gm-Message-State: APt69E23z3BCSsQwxQUUkVkETz1wWIrXL7znfAW/uGBdipgPVC/m5HUy dId/NDTnRpz98ilwWjDpLQ/cqg== X-Received: by 2002:a19:97cb:: with SMTP id z194-v6mr3198585lfd.17.1528894522956; Wed, 13 Jun 2018 05:55:22 -0700 (PDT) Received: from centauri.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id p5-v6sm526516ljh.3.2018.06.13.05.55.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Jun 2018 05:55:22 -0700 (PDT) From: Niklas Cassel To: Andy Gross , David Brown Cc: Niklas Cassel , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/5] soc: qcom: Remove depends on ARCH_QCOM Date: Wed, 13 Jun 2018 14:54:00 +0200 Message-Id: <20180613125401.11734-6-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180613125401.11734-1-niklas.cassel@linaro.org> References: <20180613125401.11734-1-niklas.cassel@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit cab673583d96 ("soc: Unconditionally include qcom Makefile"), we unconditionally include the soc/qcom/Makefile. This opens up the possibility to compile test the code even when building for other architectures. Remove the depends on ARCH_QCOM for all Kconfigs, except for two Kconfigs that depend on QCOM_SCM, since that triggers lots of build errors in qcom_scm. However, that shouldn't stop us from removing it from those where it is possible. Signed-off-by: Niklas Cassel --- drivers/soc/qcom/Kconfig | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index 1d4a9f3ada8c..8c83025c466e 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -5,7 +5,7 @@ menu "Qualcomm SoC drivers" config QCOM_COMMAND_DB bool "Qualcomm Command DB" - depends on (ARCH_QCOM && OF) || COMPILE_TEST + depends on OF || COMPILE_TEST help Command DB queries shared memory by key string for shared system resources. Platform drivers that require to set state of a shared @@ -14,7 +14,6 @@ config QCOM_COMMAND_DB config QCOM_GENI_SE tristate "QCOM GENI Serial Engine Driver" - depends on ARCH_QCOM || COMPILE_TEST help This driver is used to manage Generic Interface (GENI) firmware based Qualcomm Technologies, Inc. Universal Peripheral (QUP) Wrapper. This @@ -32,7 +31,6 @@ config QCOM_GLINK_SSR config QCOM_GSBI tristate "QCOM General Serial Bus Interface" - depends on ARCH_QCOM select MFD_SYSCON help Say y here to enable GSBI support. The GSBI provides control @@ -55,7 +53,7 @@ config QCOM_PM config QCOM_QMI_HELPERS tristate - depends on ARCH_QCOM && NET + depends on NET help Helper library for handling QMI encoded messages. QMI encoded messages are used in communication between the majority of QRTR @@ -76,7 +74,6 @@ config QCOM_RMTFS_MEM config QCOM_SMEM tristate "Qualcomm Shared Memory Manager (SMEM)" - depends on ARCH_QCOM depends on HWSPINLOCK help Say y here to enable support for the Qualcomm Shared Memory Manager. @@ -85,7 +82,6 @@ config QCOM_SMEM config QCOM_SMD_RPM tristate "Qualcomm Resource Power Manager (RPM) over SMD" - depends on ARCH_QCOM depends on RPMSG && OF help If you say yes to this option, support will be included for the @@ -122,7 +118,6 @@ config QCOM_SMSM config QCOM_WCNSS_CTRL tristate "Qualcomm WCNSS control driver" - depends on ARCH_QCOM depends on RPMSG help Client driver for the WCNSS_CTRL SMD channel, used to download nv @@ -130,7 +125,6 @@ config QCOM_WCNSS_CTRL config QCOM_APR tristate "Qualcomm APR Bus (Asynchronous Packet Router)" - depends on ARCH_QCOM depends on RPMSG help Enable APR IPC protocol support between -- 2.17.1