On Wed, 2008.06.25, 177, Hunter, Jon wrote: > > > CC drivers/cbus/retu-wdt.o > > > drivers/cbus/retu-wdt.c: In function 'retu_wdt_ioctl': > > > drivers/cbus/retu-wdt.c:204: error: implicit declaration of function > > > 'omap_readw' > > > make[2]: *** [drivers/cbus/retu-wdt.o] Error 1 > > > make[1]: *** [drivers/cbus] Error 2 > > > make: *** [drivers] Error 2 > > > An implicit declaration of function error would imply that you are missing the appropriate header function. Hence, the compiler sees this as a declaration of a new function, instead of a function that has already been defined elsewhere. > > > I removed lines 203-205 of drivers/cbus/retu-wdt.c (after patching); it > > seems > > to have fixed the problem for me. > > > Instead of removing the above lines, try including the header asm/io.h in the file drivers/cbus/retu-wdt.c. For example: > > #include <asm/io.h> Okay, this works; thanks.
Attachment:
signature.asc
Description: Digital signature