From patchwork Thu May 9 21:04:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 2545771 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id AA67ADF24C for ; Thu, 9 May 2013 21:05:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753016Ab3EIVFD (ORCPT ); Thu, 9 May 2013 17:05:03 -0400 Received: from jacques.telenet-ops.be ([195.130.132.50]:34591 "EHLO jacques.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752452Ab3EIVFD (ORCPT ); Thu, 9 May 2013 17:05:03 -0400 Received: from ayla.of.borg ([84.193.72.141]) by jacques.telenet-ops.be with bizsmtp id Zx501l00332ts5g0Jx50WD; Thu, 09 May 2013 23:05:01 +0200 Received: from geert by ayla.of.borg with local (Exim 4.71) (envelope-from ) id 1UaY1L-0005mi-T4; Thu, 09 May 2013 23:04:59 +0200 From: Geert Uytterhoeven To: linux-kernel@vger.kernel.org Cc: Geert Uytterhoeven , Florian Tobias Schandinat , linux-fbdev@vger.kernel.org Subject: [PATCH 01/12] fbdev: FB_GOLDFISH should depend on HAS_DMA Date: Thu, 9 May 2013 23:04:43 +0200 Message-Id: <1368133494-22198-1-git-send-email-geert@linux-m68k.org> X-Mailer: git-send-email 1.7.0.4 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org If NO_DMA=y: drivers/built-in.o: In function `goldfish_fb_remove': drivers/video/goldfishfb.c:301: undefined reference to `dma_free_coherent' drivers/built-in.o: In function `goldfish_fb_probe': drivers/video/goldfishfb.c:247: undefined reference to `dma_alloc_coherent' drivers/video/goldfishfb.c:280: undefined reference to `dma_free_coherent' Signed-off-by: Geert Uytterhoeven Cc: Florian Tobias Schandinat Cc: linux-fbdev@vger.kernel.org --- drivers/video/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 9669c9c..da01cec 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -2199,7 +2199,7 @@ config FB_XILINX config FB_GOLDFISH tristate "Goldfish Framebuffer" - depends on FB + depends on FB && HAS_DMA select FB_CFB_FILLRECT select FB_CFB_COPYAREA select FB_CFB_IMAGEBLIT