From patchwork Fri May 25 15:25:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 136944 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3730783lji; Fri, 25 May 2018 08:26:26 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpomr8TIPPjRhxGpcCgJSvHALo21E81v6Jqr2YAgkPms8H582/ZlBiqQr9vKkbxIHEztYjL X-Received: by 2002:a17:902:6a89:: with SMTP id n9-v6mr3074130plk.41.1527261986101; Fri, 25 May 2018 08:26:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527261986; cv=none; d=google.com; s=arc-20160816; b=WjbA6HuslwIIyIqxnsnapAG2b/7lRar6uLjWMEOYYK7fT487GkKhtBqMXzSuwJ5Erg 33OCCtKLhbu5RFYVlmmDOYjoDF8vUcCpdDJqVbBwWYc4wPzgCwkguNJqXeV/dA6lrKA9 Da/lOnFaG94izMIRu38011gw9tGhDEvTcJ49DiTJXpbULY8esOxfFziciY1xJCY3hKfr BZMySOoTTHZ5hE/3pzvIytxHGN19700lW6tDoZmJSQHd+kbcslDOfPSsN2/FhMsvRY6x 4pivOiUMJlBDQftsDgZ8kK8o1uJpegQCz4kSsHAMpLTZ5ULqz84ywkHtZJLAK4aMnh4+ HQ2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=hcs7uKRNzwLYi3eXAvWpwAbyyCvgnzq3suDpuGjO5RU=; b=QW+QGH6NmmI5gShKXSv1/vpW8C4iDgpRZsI8lh4/FP89gjTmKQUCRIPN+6q9POXBce qJLfZWZQ+WHcpYO/a0FTGB5HMVzRCo3kHAs0Aw3xM1Svo/eJMvkd9DFfibrlilO3AWzK fA7FgyWF/EEuZxJPf+fn5nq5HpGiDzZxEdVNr7MvnoaHhqgIGQN5gRm14tiL/26KsZBs eLctX8DRUkxRpS0iG/C83mm/w0mlRVLDQ7cnLDIN5cuWRmu4b5Rv8DIK4jLCiMpBALP9 HhiuHtZgUyOOPs8cwFs6VOT2hZ5mvtRninUFpF9IC0tifSssImmIFqWDvKss1OAtDKWF 8U7A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-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 n34-v6si23529580pld.91.2018.05.25.08.26.25; Fri, 25 May 2018 08:26:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-media-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-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966130AbeEYP0Y (ORCPT + 4 others); Fri, 25 May 2018 11:26:24 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:37871 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965710AbeEYP0Y (ORCPT ); Fri, 25 May 2018 11:26:24 -0400 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue001 [212.227.15.129]) with ESMTPA (Nemesis) id 0M2U69-1gEcHD1wvN-00sJVj; Fri, 25 May 2018 17:26:14 +0200 From: Arnd Bergmann To: Mauro Carvalho Chehab , Brad Love Cc: Arnd Bergmann , Hans Verkuil , Oleh Kravchenko , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/5] media: cx231xx: fix RC_CORE dependency Date: Fri, 25 May 2018 17:25:10 +0200 Message-Id: <20180525152523.2821369-3-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20180525152523.2821369-1-arnd@arndb.de> References: <20180525152523.2821369-1-arnd@arndb.de> X-Provags-ID: V03:K1:88JGFdRo9RXsChw5Spmkf7mu/yotBmE9TqYOV0LsZehGmehGT+B ErpC6dspbuIlo4cxGTUJ0VfjVHl5MuXpVOCvt5m7wmWmI7Wna3me2nL5yDDRKz3irgv0gi5 JMYsB2M+zLr4eB2/+l4oBenORcKjixJwI4/0GAhSXj3A/VR7yAxAUBOxjvDGC2R9yE/8c/E GwYlZSYUb1LCYA28CTEwg== X-UI-Out-Filterresults: notjunk:1; V01:K0:LSRIubGSrUE=:zrmKC7XpdoR2EE77TNQj0w a+DQ2Pris2XPZKhM4QVCqM7Y9cQpckqVDKJJ32BzwFxQ0m5LIx3P5SbA2hS5oOYplx7DzcnEc PCvlufVF4pY0XbVtHTG9L8ThoNkrlS6x3ArzEjJhn++Kq8bj68ZggethZnRyH/qijZ+S/Q1Uu 8KkRf7BeSL19Tw67AnKIvq72oyEVjqHrPMHtUneBi6DA3px7C6eya5l7FXwrnyGV2qUpXkZMp Ds9dv2hA+8iezMuSEV7/1jPwF/IXF8mS/bbNrXLZ35YCbPckvd8794O3H5ECONmvzVcBAEBYf HdxGxQ7s3AMBGhi59TEevhEcSXF1l/qk8k5pp7wAnI+GzSIIhv3pdclToZLwLULcHeVaZhKKH XWnVXUhhQhMu2RjvYe4DBKtOpHCv2xgIOMAt0Rh9tmclfTU2MKh1IjygvgEb4mLygyaptzozS GgGNL9HO0UaS94auTO02kgrkitQlaRHRDhjTiwVMfVjzzFGKsgVn9BNTEbAJW1lBvfC15mYR/ KVbMk81l47LcIQ+tHbC39C3GMPfBp9VZJsJK1ZTmBjZKR+3ld0NNAO5gXaxbMrKoa6w6g2dki IkaIj31953a/aVrUFcF+AC4souvEZ6XuUVs760QwVZW/8+81G8jin06LdJIHnO25YoJHW6/Qj 8fEZ/RbtPOgA0elj1BaTZ45ZhMYMLGQAgo4K1OVW7vVoNP4V7W4/WYVhxvnGYvBYum/c= Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org With CONFIG_RC_CORE=m and VIDEO_CX231XX=y, we get a link failure: drivers/media/usb/cx231xx/cx231xx-input.o: In function `cx231xx_ir_init': cx231xx-input.c:(.text+0xd4): undefined reference to `rc_allocate_device' This narrows down the dependency so that only valid configurations are allowed. Fixes: 84545d2a1436 ("media: cx231xx: Remove RC_CORE dependency") Signed-off-by: Arnd Bergmann --- drivers/media/usb/cx231xx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.0 diff --git a/drivers/media/usb/cx231xx/Kconfig b/drivers/media/usb/cx231xx/Kconfig index 0f13192634c7..9e5b3e7c3ef5 100644 --- a/drivers/media/usb/cx231xx/Kconfig +++ b/drivers/media/usb/cx231xx/Kconfig @@ -15,7 +15,7 @@ config VIDEO_CX231XX config VIDEO_CX231XX_RC bool "Conexant cx231xx Remote Controller additional support" - depends on RC_CORE + depends on RC_CORE=y || RC_CORE=VIDEO_CX231XX depends on VIDEO_CX231XX default y ---help---