Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3574895imm; Mon, 2 Jul 2018 01:24:01 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfql4uGSwMVbSvgng4zLAm8H2oz+cBMjx5KiAaSlMT+KXnjDHO9QykLbXxiEkcliVXEwM6N X-Received: by 2002:a63:1546:: with SMTP id 6-v6mr6484459pgv.271.1530519841112; Mon, 02 Jul 2018 01:24:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530519841; cv=none; d=google.com; s=arc-20160816; b=x/PQh077wosVDaBxCcg2K1lQDiqpKox7EqvvSIDSNlDB6DZICjyYiVhzh16qmwnXxt LG6EY5mLcpGNhJQrpMDByQFmPVsteKFWmQsSST6lLJCIGhPWEEdsjpGf9nv+x/BrNX6l BL44YuRDDR/XpyeJCJtW05AiLQDBbbIfAa50Y+9hnj50gypXiBqLk9ORmP2iZKZLoivi 8KaVLcTNzHDYbNi5x0wSF4WOkDxNVBEuYRyzGCIJMnKPIB8tkusN4V1OBdg5bJwmQrxf T4SXMlyDizG4HPN3SmV19mdO2VdpAnZtOBPpYf+WK3flVRBOC5/qMLCazzw8IClzplfa cXkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:from:references:in-reply-to :message-id:cc:to:arc-authentication-results; bh=Yv46Ydh9YhEVVw0EVcoH8VN5NsWE3WBjeg6GamTGBjc=; b=l4B5SDmCB6uS/KDRux8UtPSSMlRnoBkFrNqcGnEhW6ZbtbRy072E/CR2rKbjn207xh Oy4TW8EqGwZZ/bIKw9B6ZziAeSdVPZ62NGCQhFDGOYBWb7xGMo2xh2DYjSDno4XN8YCG wSx5JZNZ37KMzRsk60jG57aDkjq3/ns3lr2OOB9glPssk9i+7g6WoppAhKaGVG3tHWwi khZTptlv2rc0A3V1EysC0kC4yiOEw+reEEkjqC0ibjdk1Z2tARvAoZVrM48h9qpDZrMc uENFffvNntCkBPBmNp9U025yaUyeEKSQvvQihN8EgnUMTVP3mTgNDPW7hMKgikUdX1do G89w== 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 o26-v6si14057209pge.307.2018.07.02.01.23.46; Mon, 02 Jul 2018 01:24:01 -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 S964959AbeGBIWj (ORCPT + 99 others); Mon, 2 Jul 2018 04:22:39 -0400 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:48836 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933637AbeGBIVX (ORCPT ); Mon, 2 Jul 2018 04:21:23 -0400 Received: by kvm5.telegraphics.com.au (Postfix, from userid 502) id 389DB293A4; Mon, 2 Jul 2018 04:21:19 -0400 (EDT) To: Benjamin Herrenschmidt Cc: Michael Schmitz , , , Message-Id: <5fd5279d30eeb82c753985aa672c71bd37a062fa.1530519301.git.fthain@telegraphics.com.au> In-Reply-To: References: From: Finn Thain Subject: [PATCH v4 07/11] macintosh/via-pmu: Explicitly specify CONFIG_PPC_PMAC dependencies Date: Mon, 2 Jul 2018 04:21:19 -0400 (EDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At present, CONFIG_ADB_PMU depends on CONFIG_PPC_PMAC. When this gets relaxed to CONFIG_PPC_PMAC || CONFIG_MAC, those Kconfig symbols with implicit deps on PPC_PMAC will need explicit deps. Add them now. No functional change. Tested-by: Stan Johnson Signed-off-by: Finn Thain --- drivers/macintosh/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/macintosh/Kconfig b/drivers/macintosh/Kconfig index 9c6452b38c36..26abae4c899d 100644 --- a/drivers/macintosh/Kconfig +++ b/drivers/macintosh/Kconfig @@ -79,7 +79,7 @@ config ADB_PMU config ADB_PMU_LED bool "Support for the Power/iBook front LED" - depends on ADB_PMU + depends on PPC_PMAC && ADB_PMU select NEW_LEDS select LEDS_CLASS help @@ -122,7 +122,7 @@ config PMAC_MEDIABAY config PMAC_BACKLIGHT bool "Backlight control for LCD screens" - depends on ADB_PMU && FB = y && (BROKEN || !PPC64) + depends on PPC_PMAC && ADB_PMU && FB = y && (BROKEN || !PPC64) select FB_BACKLIGHT help Say Y here to enable Macintosh specific extensions of the generic -- 2.16.4