From patchwork Tue Aug 14 16:02:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 10565855 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 12F3E139A for ; Tue, 14 Aug 2018 16:02:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 020192A3F7 for ; Tue, 14 Aug 2018 16:02:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E78722A425; Tue, 14 Aug 2018 16:02:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 89A082A3F7 for ; Tue, 14 Aug 2018 16:02:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731707AbeHNSuY (ORCPT ); Tue, 14 Aug 2018 14:50:24 -0400 Received: from merlin.infradead.org ([205.233.59.134]:49730 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728458AbeHNSuY (ORCPT ); Tue, 14 Aug 2018 14:50:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ScSZMFGN86LYxcwWu/LiVzgG0d2dSK+BA+VUjdEXtyc=; b=owwJWSMNHvYqFH2OysQ9mptgIF zdXb+4eP9O6iKPT0UEFeVEtPcINgtWEZXExidYydmB3o7iqZj+qTC39XTU+U3oVU8vkdAOHdPD26O o6/DvmhlwtJixuBDunhK2ErQmIIJ836ZYwv09MSdiXHxaLbNwKHMtl9se2VK0/WMiVbQVs4EPS82M GyqabpKargqHS43zarEZum1TXzJzFgzZ3IF3zRNkipRW1qf+OYkgqQV0uRp1iZ9BQQdO6dmlIdsfN svV0SfBXbQpa6dz9qgdBBJUG8q9GXUHgLHBago5ZKbEMlxRBGgVgqQXcbqbIK5jCAbpgop8i348gl T0oYkQgA==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fpbmE-0002U9-Ta; Tue, 14 Aug 2018 16:02:36 +0000 To: linux-media , LKML Cc: Neil Armstrong , Mauro Carvalho Chehab From: Randy Dunlap Subject: [PATCH -next] media: platform: fix cros-ec-cec build error Message-ID: <314cbfef-ad4f-b0b2-d57b-3f54c062c1f8@infradead.org> Date: Tue, 14 Aug 2018 09:02:31 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Language: en-US Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Randy Dunlap Fix build when MFD_CROS_EC is not enabled but COMPILE_TEST=y. Fixes this build error: ERROR: "cros_ec_cmd_xfer_status" [drivers/media/platform/cros-ec-cec/cros-ec-cec.ko] undefined! Signed-off-by: Randy Dunlap Cc: Neil Armstrong Cc: Mauro Carvalho Chehab --- drivers/media/platform/Kconfig | 2 ++ 1 file changed, 2 insertions(+) --- linux-next-20180814.orig/drivers/media/platform/Kconfig +++ linux-next-20180814/drivers/media/platform/Kconfig @@ -541,6 +541,8 @@ config VIDEO_CROS_EC_CEC depends on MFD_CROS_EC || COMPILE_TEST select CEC_CORE select CEC_NOTIFIER + select CHROME_PLATFORMS + select CROS_EC_PROTO ---help--- If you say yes here you will get support for the ChromeOS Embedded Controller's CEC.