From patchwork Thu Nov 2 22:42:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 117847 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp2731937qgn; Thu, 2 Nov 2017 15:43:09 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TLm5F09IA+9jSuQisLIWKmEf1ri6OlIHR7JLUIbGvtM1xGVsNtL82gpmosbKcyLAaQHwqN X-Received: by 10.159.230.13 with SMTP id u13mr4742428plq.226.1509662589583; Thu, 02 Nov 2017 15:43:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509662589; cv=none; d=google.com; s=arc-20160816; b=PX0NJbZ7uAbAPxISCxFyHsKkJnBMRV5BmYeQjgTAxTgOemoq9ggKTN+gGXiyBbQ2qr jh/WbO89QLoVnM7m4Q6Qtbr50PyOsG7HGJLMkaJ4e8s06lxVkMbSXqigDkcqFQ2RYtq8 bDj8gl+zKrs832VSJcDLYNhEbo9MJ7jzg0ZlTQLqcXzdvX+mulIqvz5THrwoUldAPOcX 0wHloq7gTZEb93w02u+tDg9MJDtO/6cL1lC//B9NtnphNU43Zr5A+CIArpqkfJT/r600 VQDVa0du3f2PSe75w7r1KsF/t59qSlQ0LCemxOBnPxrzb/sNRUqhMtbubKsG082hB4Ny EBVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=VQiBxVG7KenIjVQ/Iy1VFOtm1pHF42039MNgEX9XnZQ=; b=0EtXkPZpOvZlADcfgOZ5SXZTUEzTsMoKvMwafvXpWiVLUXy1lz15emIih44Pbz45Ex suQ+PZm+DKVkLh55bip2UgY8D/DHWCsSERmmKKJrhj4zpeXTkk48SynaWuq80PIouUSD jMMIoqmTOikSvo5FO7+C0doEN9/r3hptP8BEYMEveLZvIdtqBQold3XcHVee2EsnQktm s/q8UcgCwRVEZD6g1EcIJq8WsxB+xUJprZSQmbW7JoUzZa9lohKUHR0s4tYTIo2VOGWq mm/DFRfSeisM7+Yv2chlzU6Ny+dhAKc5h+koBeXbXp7xAXLVAEr2xpsYPnB2JO+0p+X/ ZdWA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1si2986345plk.740.2017.11.02.15.43.09; Thu, 02 Nov 2017 15:43:09 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934632AbdKBWnD (ORCPT + 26 others); Thu, 2 Nov 2017 18:43:03 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:54902 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932201AbdKBWnB (ORCPT ); Thu, 2 Nov 2017 18:43:01 -0400 Received: from wuerfel.lan ([109.193.157.232]) by mrelayeu.kundenserver.de (mreue105 [212.227.15.145]) with ESMTPA (Nemesis) id 0MbPpU-1dtxFH1ALE-00ImOi; Thu, 02 Nov 2017 23:42:59 +0100 From: Arnd Bergmann To: Kevin Hilman , Neil Armstrong , Arnd Bergmann , Martin Blumenstingl Cc: linux-kernel@vger.kernel.org Subject: [PATCH] soc: amlogic: gx pm domain: add PM and OF dependencies Date: Thu, 2 Nov 2017 23:42:44 +0100 Message-Id: <20171102224256.1686675-1-arnd@arndb.de> X-Mailer: git-send-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ender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The new driver introduces harmless warnings: warning: (PM_RMOBILE && ARCH_RCAR_GEN1 && ARCH_RCAR_GEN2 && ARCH_R7S72100 && MESON_GX_PM_DOMAINS) selects PM_GENERIC_DOMAINS which has unmet direct dependencies (PM) warning: (MESON_GX_PM_DOMAINS) selects PM_GENERIC_DOMAINS_OF which has unmet direct dependencies (PM_GENERIC_DOMAINS && OF) This adds CONFIG_OF and CONFIG_PM dependencies to ensure it will only be enabled in valid configurations. Fixes: 75fcb5ca4b46 ("soc: amlogic: add Meson GX VPU Domains driver") Signed-off-by: Arnd Bergmann --- drivers/soc/amlogic/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.9.0 Acked-by: Neil Armstrong diff --git a/drivers/soc/amlogic/Kconfig b/drivers/soc/amlogic/Kconfig index 1621bb25a1ea..b04f6e4aedbc 100644 --- a/drivers/soc/amlogic/Kconfig +++ b/drivers/soc/amlogic/Kconfig @@ -12,6 +12,7 @@ config MESON_GX_SOCINFO config MESON_GX_PM_DOMAINS bool "Amlogic Meson GX Power Domains driver" depends on ARCH_MESON || COMPILE_TEST + depends on PM && OF default ARCH_MESON select PM_GENERIC_DOMAINS select PM_GENERIC_DOMAINS_OF