Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2323893ybi; Thu, 18 Jul 2019 06:44:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqzoVQ2rLsUsUwVdUk1xgRXR2jX+WDppBniaSobZriiEUB21fNjql/RUhMGRgcwYCb3jFudk X-Received: by 2002:a17:902:4283:: with SMTP id h3mr48895214pld.15.1563457447909; Thu, 18 Jul 2019 06:44:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563457447; cv=none; d=google.com; s=arc-20160816; b=FNAa/4rCDvfeKk9uXqVXbnCIW/Fp4qmKrzCElmWFRPl5PM66GsGRBlqoNCmoA+7/uB 0XUbUiOw3kybPjO/GrR32ziuQ01hJZH2ybO8NN/MMm7/02wwa+tZj9jmvIwl+B8vltPo iF0iPgw4dq8dzONriTu2CBm5B2GuU9/UHlsTUAU8+8bUZuDgierQYPMZkGOsqMgo7hLB ycdFL5PND4dawx6VDFbQuW7aLeP8LQbLa+0g8ukERz4VvAV2cwVCQwle6pSJ6i2oKuMd +2kJ4BZoM+RoXJC7oVXJqYptFKAFXnYh220G3CkVkT02qCFVY/9lBHnAa0GuTKmHiXoX kjFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=HKx/aBH5SkmV6dfXtJdRWPqUW6tSzaUAfmZrcrlY33w=; b=n+H2jW36+z2Yx+fpxGiChdfMs95n1h3w3809gJefR3scH5KTop9lZ1gHBi/QkTHIn2 KHeTOAmHP+MKpYY3kBsbPG99/C+MLFz08SUsWkqqzulU759H7jbFeNWHZaK7aUS9Ovu7 78ujekmt7HS9fJD6KrbBIZLv/NQUJ89kuGmx8XLZbZKPMunHsVgnQmDKor4rNjQ5M3pb ITCikGgPRowm54fkIPeulAK/4RuOp7d/fiGy7kH4nB/4w8ZDGwMyAuKKJaJLk+o/1qII Gb4CEo528bPo2yUGzZV/rBiodAOPA22oA235IdHb5YKSORDKm/jD8f0E9MYDQY8DEtud hZlw== 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 t19si937644pfe.94.2019.07.18.06.43.51; Thu, 18 Jul 2019 06:44:07 -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 S1727767AbfGRNm5 (ORCPT + 99 others); Thu, 18 Jul 2019 09:42:57 -0400 Received: from mout.kundenserver.de ([212.227.17.10]:44097 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726608AbfGRNm5 (ORCPT ); Thu, 18 Jul 2019 09:42:57 -0400 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 Cc: Arnd Bergmann , =?UTF-8?q?Ronald=20Tschal=C3=A4r?= , Dmitry Torokhov , Laurent Pinchart , Sean Paul , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org 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 Content-Transfer-Encoding: 8bit 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== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- 2.20.0