Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760864AbYFIWYv (ORCPT ); Mon, 9 Jun 2008 18:24:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758993AbYFIWXT (ORCPT ); Mon, 9 Jun 2008 18:23:19 -0400 Received: from smtp5.pp.htv.fi ([213.243.153.39]:47015 "EHLO smtp5.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754634AbYFIWXR (ORCPT ); Mon, 9 Jun 2008 18:23:17 -0400 Date: Tue, 10 Jun 2008 01:22:22 +0300 From: Adrian Bunk To: geert@linux-m68k.org, adaplas@gmail.com Cc: linux-kernel@vger.kernel.org, Andrew Morton Subject: [2.6 patch] export c2p Message-ID: <20080609222222.GF1987@cs181133002.pp.htv.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 913 Lines: 34 This patch fixes the following build error: <-- snip --> ... Building modules, stage 2. MODPOST 1203 modules ERROR: "c2p" [drivers/video/amifb.ko] undefined! ... make[2]: *** [__modpost] Error 1 <-- snip --> Reported-by: Adrian Bunk Signed-off-by: Adrian Bunk --- 771aaffb33351e9243dd1ff47150f2bb0a32d8f2 diff --git a/drivers/video/c2p.c b/drivers/video/c2p.c index 03ceb1a..376bc07 100644 --- a/drivers/video/c2p.c +++ b/drivers/video/c2p.c @@ -227,5 +227,6 @@ void c2p(u8 *dst, const u8 *src, u32 dx, u32 dy, u32 width, u32 height, dst += dst_nextline; } } +EXPORT_SYMBOL_GPL(c2p); MODULE_LICENSE("GPL"); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/