[cpia] still hoping

sbertin@mindspring.com sbertin@mindspring.com
Tue, 14 Mar 2000 17:19:54 -0500 (EST)


On 14 Mar, Bastian wrote:
> compiling cpia_pp without dma brings up the following warning :
> 
> gcc -c  -Wall -Wstrict-prototypes -O2 -pipe -fomit-frame-pointer 
> -fno-strength-reduce -I. -I/usr/src/linux/include -D__KERNEL__ -DMODULE 
> -D_DEBUG_ -DCONFIG_VIDEO_CPIA_MODULE -DCONFIG_VIDEO_CPIA_PP_MODULE 
> -DCONFIG_VIDEO_CPIA_USB_MODULE cpia_pp.c
> cpia_pp.c: In function `cpia_parport_enable_irq':
> cpia_pp.c:259: warning: implicit declaration of function `mdelay'
> 
> and both insmod'ing cpia_pp and depmod -a bring up :
> 
> /lib/modules/2.2.14/misc/cpia_pp.o: unresolved symbol mdelay

Try adding #include <linux/delay.h> just after the #include
<linux/interrupt.h>

Scott J. Bertin
sbertin@mindspring.com