From patchwork Thu Jul 18 13:42:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 169205 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp2426654ilk; Thu, 18 Jul 2019 06:42:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqzmh5kFwIWCgTNwdmjcBeg04RT/W/r2g2DhTIpc4xScnc1tZNya58GRpGSXWC4z43TRV3QL X-Received: by 2002:a63:4e60:: with SMTP id o32mr48609397pgl.68.1563457379173; Thu, 18 Jul 2019 06:42:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563457379; cv=none; d=google.com; s=arc-20160816; b=PaPE0XNC1zPv0JPDKh+1+mXvEF81Ula6jNopD9GYG7sDW49OrvXw8j+URxDlCBA8A5 +CkdSS5uWYEBpcI9HyCKs660jvIei1BhVURXK9pOzpPxwScmZCfWNWsSHpMDPkExg6IH ziyO6PfaLM22MBHNPlpl26GVd2Irxmn9XnnCmbT6CO23CGSNupb9/tCQi84QbZpHGTii vx2irOVC6z01H9ZkrwKUWpvhVGNNIukNtGiVK/lb61nW0+6MmyJeQm+W/xz6iUWsXnpz RGtlHh2QcIdAPAxMaahz2IC73mObZOFIkmKgwfI9Hw1Du1c+km3U0Vekv7MBL4DUF3y9 GB8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:message-id:date:subject:to:from :delivered-to; bh=euTZFrwfWpRHylXyybD0BoAWbY576I8c5uGWD+KPxjE=; b=jvvvFd3e6HqUP5QMwIR3RNLK06x6KnNNDA4KJgbSX5fB67oVRd5B1Ckz4doOTcVONf 1ScgDbj0FR2WdwJ51onk6z/8ZuxS+wWfC6Hl/R3oFNaDiNb03TYwJhKOjeRuZsBww2eE faj08uiQaUqs7OXtm4ykP3ysptFuQuGzrMX/WRqBF04bNWK5WF2DHeqA3UCl7nguX+wr PwaxXF7wkeWJP2CBBQvY+E7VBsvteML5/V1iXxaCWYNVJDzU8UbzG69SMufL4aF/4+LY naIDQnc3II1me0k4vXMp0sO/EgigJ+lGcqdwOaDScLCRLsWE0U1MnNTSp8h/sQTs0FCG IN/g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id cb5si858365plb.172.2019.07.18.06.42.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Jul 2019 06:42:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BEE326E3C6; Thu, 18 Jul 2019 13:42:56 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.10]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2A9BC6E3C6 for ; Thu, 18 Jul 2019 13:42:54 +0000 (UTC) Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.145]) with ESMTPA (Nemesis) id 1MysFQ-1ib6Sk0g0g-00vua9; Thu, 18 Jul 2019 15:42:44 +0200 From: Arnd Bergmann To: Andrzej Hajda , David Airlie , Daniel Vetter Subject: [PATCH] drm/bridge: fix RC_CORE dependency Date: Thu, 18 Jul 2019 15:42:24 +0200 Message-Id: <20190718134240.2265724-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:LalC3fueD8ns/zVd1zUacsqU9/+XR1XYXbOtp5D2bbPKXX/+BVp pih72gFX2h3gXxMbIh6oAihZdwH+/zSdgbm4Y7bfVsDmTY6G5T3jf7i2UeGAM3F7/NhQS7x +uktKDqfLMK3uI0kgmWZoIlXK1TVxNOL/rDWwUnatfP7uVfpGNnlQOBWndwsJJ+XqMr5b1c P3Pgiqsmjam1WjkypwzAA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:SL2m0TBWswY=:c4RPZmLcftwWBIHOBql1ST Aj7g3NbIsK/RqoAvvZS4zv14zCFTUDURjXMcPEpPoL1ANhtfgPatR8MDdJGEXACdmtI6OiUJP KpfO9ZJiqVnUgz8M6plbm/SErsdODRZsN76lQ8PWs02Kk8hgpgPpKvgQ7EUV1gNfFSVz5c9FW vcM8zBE/RJR1sY1BBMEWrAwVWhXm5djLGsW8whrHOH+YNhi24tnCYlOFcpeGTxtNfk1xPb5re nyRGtqVVA/6oahbrPJKVDKxkSXojMfwZN2iqo4XXdDLHHbkVURnMYlDHSfK2qN83BehQvvAEf pd+h/0SmQef8O4SmrUOTq+VO7P4q1XV+tWsCSNAEzQltgZlE+EvF3D+djKDVpxuS8OMTUh/J/ eKS6dSAXzHuiZXiMNe8vEwCfsRQ/rX2uom7j8scK3y4Vts9evB3QQy8xMtjNolJ5UbWznAPtr R3S/hr+Ljg1UEbumD/AcnWjZU7J4LiUmH9JpXntzT8HliOc3nww+G45i00fIKlBLMUc93BZhw NRzpOAeLwAxn+3bx/jeUWDlIghYldlztzWIMdbG568tJC9zAJcOnoVzh1gdRtdg0c4s64blVF rc+yMf+XJmkdWXS/whosAHGE8zySqupOx1bFq/3vsBBvdGkurVRMrTUVaIE/VooOK5jlH4c44 ar19zSgnKQiIa7F4tTC13ZBjYTnLecbEygJDs2KlNSAUlvRS17+6bUnPymbvi0WozPJSwEzCK 13nxZFneJ+klscHMykjxh6SU23zJzYiwBVf00A== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , =?utf-8?q?Ronald_Tschal=C3=A4r?= , Dmitry Torokhov , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Laurent Pinchart , Sean Paul Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Using 'imply' causes a new problem, as it allows the case of CONFIG_INPUT=m with RC_CORE=y, which fails to link: drivers/media/rc/rc-main.o: In function `ir_do_keyup': rc-main.c:(.text+0x2b4): undefined reference to `input_event' drivers/media/rc/rc-main.o: In function `rc_repeat': rc-main.c:(.text+0x350): undefined reference to `input_event' drivers/media/rc/rc-main.o: In function `rc_allocate_device': rc-main.c:(.text+0x90c): undefined reference to `input_allocate_device' Add a 'depends on' that allows building both with and without CONFIG_RC_CORE, but disallows combinations that don't link. Fixes: 5023cf32210d ("drm/bridge: make remote control optional") Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/bridge/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig index f64c91defdc3..70a8ed2505aa 100644 --- a/drivers/gpu/drm/bridge/Kconfig +++ b/drivers/gpu/drm/bridge/Kconfig @@ -85,8 +85,8 @@ config DRM_SIL_SII8620 tristate "Silicon Image SII8620 HDMI/MHL bridge" depends on OF select DRM_KMS_HELPER + depends on RC_CORE || !RC_CORE imply EXTCON - imply RC_CORE help Silicon Image SII8620 HDMI/MHL bridge chip driver.