Skip to contentSkip to conversation

export c2p

PATCH New Adrian Bunk 1 participant 1 message Jun 9, 2008 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 -->

---
771aaffb33351e9243dd1ff47150f2bb0a32d8f2 diff --git a/drivers/video/c2p.c b/drivers/video/c2p.c index 03ceb1a..376bc07 100644

drivers/video/c2p.c +1 -0
@@ -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");