From patchwork Mon Sep 29 15:36:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 4997631 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4BE6E9F2BA for ; Mon, 29 Sep 2014 15:37:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7112B20173 for ; Mon, 29 Sep 2014 15:37:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 380572016C for ; Mon, 29 Sep 2014 15:37:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753165AbaI2PhH (ORCPT ); Mon, 29 Sep 2014 11:37:07 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:58036 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751601AbaI2PhG (ORCPT ); Mon, 29 Sep 2014 11:37:06 -0400 Received: from wuerfel.localnet (HSI-KBW-134-3-133-35.hsi14.kabel-badenwuerttemberg.de [134.3.133.35]) by mrelayeu.kundenserver.de (node=mreue001) with ESMTP (Nemesis) id 0LscDB-1YEB2y0pL7-012HEG; Mon, 29 Sep 2014 17:37:01 +0200 From: Arnd Bergmann To: Mauro Carvalho Chehab Cc: Hans Verkuil , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] [media] vivid: add CONFIG_FB dependency Date: Mon, 29 Sep 2014 17:36:58 +0200 Message-ID: <6161514.UBprKDKKES@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: V02:K0:qyHJIwgKuLX8EdKxdOj+izQPK7t1ZH9Ho6S78Kf8ATJ APyNWadHgNw5v3+V541N3DE5RkfziRTmF8JnS8+NC8qv/xgk2K jdkXEh23fjCzz9AjIs2d6xhiixSpGGyiHHMWMFr5Hfk/eW+DYE vTCxsPmknH/E9ph7qt+FipEJX0Ef2XH7rue+3jXdCo4xqjbnv6 k6nWPNwTHRnOzSGZpO2UVsB4fLrfsNF77Jmzzy+sviGDxgXb7X O0La3o/nMlN6pxjfgtUSpNVgN2PXHxpw5r8/eNFB2PWGtFmMvu a08xTTAVKHKBoJO4lgfa1RKIIvwj2OSNNJKhd+ZZnOAtpfXe5K bnmYnUXAinj2qvrfr5Us= X-UI-Out-Filterresults: notjunk:1; Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 From 6699184d4b791e8a108888380d3b75be837607d3 Mon Sep 17 00:00:00 2001 From: Arnd Bergmann Date: Mon, 29 Sep 2014 17:33:25 +0200 Subject: [PATCH] [media] vivid: add CONFIG_FB dependency The vivid test driver creates a framebuffer, which fails if the the framebuffer layer is not enabled: drivers/built-in.o: In function `vivid_fb_release_buffers': :(.text+0x2acfe8): undefined reference to `fb_dealloc_cmap' drivers/built-in.o: In function `vivid_fb_init': :(.text+0x2ad344): undefined reference to `fb_alloc_cmap' :(.text+0x2ad34c): undefined reference to `register_framebuffer' drivers/built-in.o: In function `vivid_exit': :(.exit.text+0x4354): undefined reference to `unregister_framebuffer' drivers/built-in.o:(.data+0x55f88): undefined reference to `cfb_fillrect' drivers/built-in.o:(.data+0x55f8c): undefined reference to `cfb_copyarea' drivers/built-in.o:(.data+0x55f90): undefined reference to `cfb_imageblit' This adds the dependency in Kconfig. Signed-off-by: Arnd Bergmann Cc: Hans Verkuil Cc: Mauro Carvalho Chehab --- To unsubscribe from this list: send the line "unsubscribe linux-media" 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/media/platform/vivid/Kconfig b/drivers/media/platform/vivid/Kconfig index d71139a2ae00..4c31421fd90d 100644 --- a/drivers/media/platform/vivid/Kconfig +++ b/drivers/media/platform/vivid/Kconfig @@ -1,6 +1,6 @@ config VIDEO_VIVID tristate "Virtual Video Test Driver" - depends on VIDEO_DEV && VIDEO_V4L2 && !SPARC32 && !SPARC64 + depends on VIDEO_DEV && VIDEO_V4L2 && FB && !SPARC32 && !SPARC64 select FONT_SUPPORT select FONT_8x16 select VIDEOBUF2_VMALLOC