From patchwork Mon May 23 20:43:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 12859433 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8994FC433F5 for ; Mon, 23 May 2022 20:43:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233376AbiEWUns (ORCPT ); Mon, 23 May 2022 16:43:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233382AbiEWUnr (ORCPT ); Mon, 23 May 2022 16:43:47 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE7A5939C9; Mon, 23 May 2022 13:43:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=PF2QZluFpG0B0SGot/0yZRsxkLgQZRVAXG0KLm186/s=; b=ePBn21i0dh+Ir40Tm9N7ZENfdT hgszo8s9Ohf8SKMCxdkhgIqlNXEGRpqdZLUCRybtaAS8/hm/W8Ff6bQ81izzjpRezVYHFMOymW9EC Bin8Q3tsmYgTbn9z2lho1IdfNt+lz5N+Q8fDswk9vtG8tzLUK5ZH1UAh8+j5DSi5FdxRGZmpZ2v6f p+3JhjpLxZCASGhfj3V3htG+60bn0c3zvTJms+/Bd/QqfVgSxgcnHSZ9hRZV3kTsjXJK8B7xmZiQ0 y8rE4B1jYfh8YEsaXq2B9Ai4QJXkfodlDN8gte5uO4+D+xvBa2sniht1AAXFoEJ9sDvaBtzGBH60t 2rN7lI8Q==; Received: from [2601:1c0:6280:3f0::aa0b] (helo=casper.infradead.org) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1ntEtz-00GX1n-Gs; Mon, 23 May 2022 20:43:44 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, David Airlie , Daniel Vetter Subject: [PATCH -next] drm/msm: DRM_DP_AUX_BUS depends on OF Date: Mon, 23 May 2022 13:43:37 -0700 Message-Id: <20220523204337.19739-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Fix a Kconfig warning for DRM_MSM by making it depend on OF, since 'select' does not follow any dependency chaings. WARNING: unmet direct dependencies detected for DRM_DP_AUX_BUS Depends on [n]: HAS_IOMEM [=y] && DRM [=m] && OF [=n] Selected by [m]: - DRM_MSM [=m] && HAS_IOMEM [=y] && DRM [=m] && (ARCH_QCOM || SOC_IMX5 || COMPILE_TEST [=y]) && COMMON_CLK [=y] && IOMMU_SUPPORT [=y] && (QCOM_OCMEM [=n] || QCOM_OCMEM [=n]=n) && (QCOM_LLCC [=y] || QCOM_LLCC [=y]=n) && (QCOM_COMMAND_DB [=n] || QCOM_COMMAND_DB [=n]=n) Fixes: f5d01644921b ("drm/msm: select DRM_DP_AUX_BUS for the AUX bus support") Signed-off-by: Randy Dunlap Cc: Rob Clark Cc: Abhinav Kumar Cc: Dmitry Baryshkov Cc: Sean Paul Cc: linux-arm-msm@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org Cc: David Airlie Cc: Daniel Vetter --- drivers/gpu/drm/msm/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/drivers/gpu/drm/msm/Kconfig +++ b/drivers/gpu/drm/msm/Kconfig @@ -3,6 +3,7 @@ config DRM_MSM tristate "MSM DRM" depends on DRM + depends on OF depends on ARCH_QCOM || SOC_IMX5 || COMPILE_TEST depends on COMMON_CLK depends on IOMMU_SUPPORT