From patchwork Tue May 19 13:08:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 6436981 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 01D5EC0432 for ; Tue, 19 May 2015 13:08:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 86BD8203AF for ; Tue, 19 May 2015 13:08:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 456E7203B0 for ; Tue, 19 May 2015 13:08:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755811AbbESNI3 (ORCPT ); Tue, 19 May 2015 09:08:29 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:56996 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755675AbbESNIN (ORCPT ); Tue, 19 May 2015 09:08:13 -0400 Received: from wuerfel.localnet ([149.172.15.242]) by mrelayeu.kundenserver.de (mreue003) with ESMTPSA (Nemesis) id 0LkUkZ-1ZR13z3HQJ-00cNiB; Tue, 19 May 2015 15:08:08 +0200 From: Arnd Bergmann To: Dmitry Torokhov Cc: Hans Verkuil , Mauro Carvalho Chehab , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Florian Echtler , Henrik Rydberg , linux-arm-kernel@lists.infradead.org Subject: [PATCH] input: sur40: fix v4l dependency Date: Tue, 19 May 2015 15:08:05 +0200 Message-ID: <6880566.G7eZ6NqpSp@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 X-Provags-ID: V03:K0:BvjpjOQ+5aD0n4i5wfel6mmK7U2Ahehqc8XibPzTfDICiWLNw2U LVAAvklvKbdjOJZ/nZhR01hpNFMcnmiulcr3Lr27KY06xm0KlTsfYlZLf/WvoyXjQ+XmRCn hfa0soSP9f640s+2QuFO647ruQancsX3BvOoSI2MxfrmwPyqXfI7G+OIUZVOmMFVkr277h8 RQxcYw2dCRjJDM7VoXeMA== X-UI-Out-Filterresults: notjunk:1; Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The recently added support for the raw video stream in the SUR40 driver fails to link if the driver is built-in but v4l2 is not: drivers/built-in.o: In function `sur40_disconnect': :(.text+0xf2ed2): undefined reference to `video_unregister_device' :(.text+0xf2eda): undefined reference to `v4l2_device_unregister' :(.text+0xf2ee2): undefined reference to `vb2_dma_sg_cleanup_ctx' This adds an explicit dependency, to avoid the broken build. Signed-off-by: Arnd Bergmann Fixes: e831cd251fb ("[media] add raw video stream support for Samsung SUR40") --- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig index cee8ffe4ffd9..90935f3918db 100644 --- a/drivers/input/touchscreen/Kconfig +++ b/drivers/input/touchscreen/Kconfig @@ -980,6 +980,7 @@ config TOUCHSCREEN_SUN4I config TOUCHSCREEN_SUR40 tristate "Samsung SUR40 (Surface 2.0/PixelSense) touchscreen" depends on USB && MEDIA_USB_SUPPORT && HAS_DMA + depends on VIDEO_V4L2 select INPUT_POLLDEV select VIDEOBUF2_DMA_SG help