2008-06-09 22:24:51

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] export c2p

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 <[email protected]>
Signed-off-by: Adrian Bunk <[email protected]>

---
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");