From patchwork Thu Jan 4 10:31:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10144407 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C5F7760594 for ; Thu, 4 Jan 2018 10:33:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B2C1E20243 for ; Thu, 4 Jan 2018 10:33:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A7BD92833E; Thu, 4 Jan 2018 10:33:00 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable 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 3B51220243 for ; Thu, 4 Jan 2018 10:33:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752753AbeADKcr (ORCPT ); Thu, 4 Jan 2018 05:32:47 -0500 Received: from mout.kundenserver.de ([212.227.126.130]:61093 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752159AbeADKco (ORCPT ); Thu, 4 Jan 2018 05:32:44 -0500 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue002 [212.227.15.129]) with ESMTPA (Nemesis) id 0MWbfO-1eQ1PG0GXy-00Xbk6; Thu, 04 Jan 2018 11:32:40 +0100 From: Arnd Bergmann To: Mauro Carvalho Chehab Cc: Arnd Bergmann , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] media: au0828: add VIDEO_V4L2 dependency Date: Thu, 4 Jan 2018 11:31:32 +0100 Message-Id: <20180104103215.15591-3-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20180104103215.15591-1-arnd@arndb.de> References: <20180104103215.15591-1-arnd@arndb.de> X-Provags-ID: V03:K0:QhEvNci3BcrxSM59GQGUNY7+LaUCVXf168jyn1RcL24LAQDQnWi RwtJ/cmZNlPvX70mLNMrksS3dYPxmSvrurgOuMxIGqdSAnTCKizpZOT7POdB2FF9mGIaQmi +kWVlpyVzVP4EBB9U0fUQA3cfF49MyQMcOfM0bCTSfhX3L5TTgk+NJ/BRX/EV/e/wnklF1N 4f+q57EwZzroHJVkMf7Mw== X-UI-Out-Filterresults: notjunk:1; V01:K0:r5rN/1OMt/Q=:QGUjrNYnQaWYsxqKzTimrQ 6+D2lDhxp2U91WWvLvxA3LanY99oZxBvcqngdG9BPfw3XmCe4f+CNZ0KqYlS6GMaszxkmSIeB rPaiyMUD4Fqlh3QJTt6MXCKBG+iSP2S0nSwwzkXHsA0lPWTES7+oSGOeveBT43gnebLiCctqC prS0Rq9UsB4ZtDFBmPg47xz+rOQX/BxsEPdwbHCneX07FiVz6YzZaeR0u7ZFuQ2zjKWSCvUTm JGhJqNy6I4Isze9Ps3IdkKQ4eMTznpmfS0d8Lh6ZP6aX4ZYgGxEYjQJSe1dCJmjlB1be3DgE2 2r6tA6tBU+Iq6VnU4GQ9YW8k9VoIsiOPxKX7t63Yze0215Jj8N0vetkNNjXsonL37BjnofNVn plsPR7lMW3GMsGv/inVEzR9IPJvYLFn9MMA1h6BeEh2X2FzMyIivUfEgPlbaQkm3WTVeC+X6R 9ROMQZq25BQ7fq2BrcWqOHRrNaKEXs7jXvTDqy3PyRCAAwBoRK7WMilBmRJQL0BiwgiH8j32o qjqSeI6lWfB1C8rYL+QBrLqRnWpngNzyrazHSbAsF5NqbB0AlG75Yv5bA44br0XU2JJcr0fWX mDWoRGjHT1Wta4V+vmPt+ToKIzuC7J3lg7VY0bCN6ylfbCI/aMrLG29fw1Svwfy41N/DhjXmG eTLyMRVk2mCKx7vdDnJMrA01gx0RG13meZVUis+Tk0EfS91TO+dHy8XQQ3PlXuMMZEdxmbRVu rTihvcciyFvuvwko3+hVQ+eU7LlHJDt2YW0etw== 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 After the move of videobuf2 into the common directory, selecting the au0828 driver with CONFIG_V4L2 disabled started causing a link failure, as we now attempt to build videobuf2 but it still requires v4l2: ERROR: "v4l2_event_pending" [drivers/media/common/videobuf/videobuf2-v4l2.ko] undefined! ERROR: "v4l2_fh_release" [drivers/media/common/videobuf/videobuf2-v4l2.ko] undefined! ERROR: "video_devdata" [drivers/media/common/videobuf/videobuf2-v4l2.ko] undefined! ERROR: "__tracepoint_vb2_buf_done" [drivers/media/common/videobuf/videobuf2-core.ko] undefined! ERROR: "__tracepoint_vb2_dqbuf" [drivers/media/common/videobuf/videobuf2-core.ko] undefined! ERROR: "v4l_vb2q_enable_media_source" [drivers/media/common/videobuf/videobuf2-core.ko] undefined! This adds the same dependency in au0828 that the other users of videobuf2 have. Fixes: 03fbdb2fc2b8 ("media: move videobuf2 to drivers/media/common") Fixes: 05439b1a3693 ("[media] media: au0828 - convert to use videobuf2") Signed-off-by: Arnd Bergmann --- drivers/media/usb/au0828/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/au0828/Kconfig b/drivers/media/usb/au0828/Kconfig index 70521e0b4c53..bfaa806633df 100644 --- a/drivers/media/usb/au0828/Kconfig +++ b/drivers/media/usb/au0828/Kconfig @@ -1,7 +1,7 @@ config VIDEO_AU0828 tristate "Auvitek AU0828 support" - depends on I2C && INPUT && DVB_CORE && USB + depends on I2C && INPUT && DVB_CORE && USB && VIDEO_V4L2 select I2C_ALGOBIT select VIDEO_TVEEPROM select VIDEOBUF2_VMALLOC