From patchwork Wed Aug 29 07:57:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 10579637 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-2.web.codeaurora.org (Postfix) with ESMTP id E6692175A for ; Wed, 29 Aug 2018 07:58:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DB1CC2AA17 for ; Wed, 29 Aug 2018 07:58:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CB0002AA1C; Wed, 29 Aug 2018 07:58:07 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 7F40B2A941 for ; Wed, 29 Aug 2018 07:58:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727693AbeH2Lxn (ORCPT ); Wed, 29 Aug 2018 07:53:43 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:34510 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727677AbeH2Lxm (ORCPT ); Wed, 29 Aug 2018 07:53:42 -0400 Received: by mail-lj1-f195.google.com with SMTP id f8-v6so3593916ljk.1 for ; Wed, 29 Aug 2018 00:58:04 -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=zObaoypU2uzVmbj0aozqxiQCeTZ60KpvPIYalSHTKxM=; b=i/YkCFfcC+jM4HVp+90ZuD4vJtZ0EfxuG6XIt4Ystcb49J26d2NVWaC77wVAFj7U2a FexZAs6M1LfUOEKjCumWJ+TUsDThYLmGzretMbtol+9JcX+o8VURyq6bLr2Wdh+xR41o qH7ieaNDYliin5OwconCMi2Sd16Qsw2Y2sPik= 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=zObaoypU2uzVmbj0aozqxiQCeTZ60KpvPIYalSHTKxM=; b=ByTUPpwl5NIGji0lrVl+NXwVIZz1GOldf3Aga+/c9rTsNxokkHq7irTUoxtOE28Q2J CuG247k61MNiqAQOnGxnNsMYQI/L9ifw8W/VDdQ/1E31N9z2dWvDOdYUWaEw0BNDeqB5 0Tkx4IQaNk6YTDPb/Czz/z4Tmnk38AOtwJP6S+IBBtLrEMsZij0ddRFj7VPsf+5DSKYS VEEWlHlfdnnxI6CVv8ipZImKt0rq7aHnG/8yL2nA6SA5Nx71lLa2gY9ARGMiflZgk3Jt H3FFmvpGswDeuyHuWwFTNMAGVNTSwXURwUShPcWi5eB7LzH8EyaVeKiOnAo6J4FovvYi GS3w== X-Gm-Message-State: APzg51AKmwCpjOROcngTeHmNoY5/R7565wyleH4LX7SsbBcnpDZBGVKd pQ8Uco6PsghIURA4lQ3tQocyDg== X-Google-Smtp-Source: ANB0VdZEw3jRwLW5Ekbrqc8MEwf7hYqkg44UtD/oF7gAPAyq/Ar7V99XO/rn5qS42Lk4LrR2czxRXA== X-Received: by 2002:a2e:97c8:: with SMTP id m8-v6mr3726571ljj.52.1535529484035; Wed, 29 Aug 2018 00:58:04 -0700 (PDT) Received: from centauri.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id j9-v6sm592303ljh.40.2018.08.29.00.58.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 Aug 2018 00:58:03 -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 v6 6/9] soc: qcom: Remove depends on OF from QCOM_RPMH Date: Wed, 29 Aug 2018 09:57:20 +0200 Message-Id: <20180829075724.9095-7-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180829075724.9095-1-niklas.cassel@linaro.org> References: <20180829075724.9095-1-niklas.cassel@linaro.org> 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 QCOM_RPHM already selects ARM64, which always selects OF. Additionally, the rpmh driver only uses linux/of.h, which has dummy definitions for all functions, in order for code to to be able to build without CONFIG_OF set. Remove the superfluous depends on OF. Signed-off-by: Niklas Cassel Reviewed-by: Bjorn Andersson --- drivers/soc/qcom/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index ac657164a136..cf4ece232897 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -94,7 +94,7 @@ config QCOM_RMTFS_MEM config QCOM_RPMH bool "Qualcomm RPM-Hardened (RPMH) Communication" - depends on ARCH_QCOM && ARM64 && OF || COMPILE_TEST + depends on ARCH_QCOM && ARM64 || COMPILE_TEST help Support for communication with the hardened-RPM blocks in Qualcomm Technologies Inc (QTI) SoCs. RPMH communication uses an