RE: Latest git kernel won't build with muru.com N8x0 patch 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> >   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>

Cheers
Jon
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux