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: 123404 Delivered-To: patch@linaro.org Received: by 10.80.135.92 with SMTP id 28csp6546702edv; Thu, 4 Jan 2018 02:32:52 -0800 (PST) X-Google-Smtp-Source: ACJfBoslVMEIP0MuthFqOKW4J3HlTh1AWQ20MtVHGznwh+vIC6cOXQFwfLb/qLdRHQYcdH+o2qFd X-Received: by 10.159.194.1 with SMTP id x1mr4141810pln.116.1515061972240; Thu, 04 Jan 2018 02:32:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515061972; cv=none; d=google.com; s=arc-20160816; b=vmdI0ffTL/qj45gNhtDTGonU5dL51/Bs1wacO9XRcj/gFeT7PUpi3jVZ2KTVtytMkR VCVIlo/PW8Qsh6MOmcnQEwn7wwcW6NkRPswFHRAP42akUUcVhGCOCqalnwMAdTnvXihc +IlU3TjKEEVsH+anQx8wHVd6uDc/etpc1qEc3G5Bkt61q35tAKf3DHcF6TwEHmtVmHwm 0yWDqMlHQOW2K9rEYT8oCXccRZtruKKbw8gWOfEWxE7/H/Z7CcfStS7CO+8oMcD7Zjij CUsK4G2ILCUWEfGuQ3mXedrQv7XtGESWpknqMIu9GL8CZ9gs8SVaJtAXwbyym7K6BF6I bZaw== 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=RDZNpO9FhMwLFg8wy/9Y1tIxYNCZz97xk7M/hBBpb28=; b=HACPopjqB3GonrdI4z2un4IDy1solIuBf+IauhLP3jrgdHwrsjRpuzNsedgYS7QT3I ybKmCnjEe9dg7MN1QJ6X0BmUJYkV1VL/6c3RCNMZdt68N+LVRE1P5LNroaj9t47gtOZh cn4mgjK9s0pf+Q+neAz9K3xfcXvC3fndxs4+3ppfTL1pJG8tPQmsdsCLzsutjgyFw3wR ihxynCzrV91tz/6KrhxtiEGDBhb12pY0ZSDjzhXkbtBN7jSoqxnW29xMIQ9eanZ44lNs aKJX7r6Fl1W6E7hB9fOxu0tEqxc8vZSMY3zoEq6rf2ZO0tzTFCzUaWHU5EV12lW2R16S 7fmQ== 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 w8si2146374pfa.267.2018.01.04.02.32.51; Thu, 04 Jan 2018 02:32:52 -0800 (PST) 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 S1752772AbeADKcs (ORCPT + 28 others); Thu, 4 Jan 2018 05:32:48 -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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.9.0 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