Hello Christophe, Thank you very much for your patch, as far as I can tell, the compilation of this file works for me with no local modification and with the inclusion of asm/gpio.h
Are you sure you did not make any local modification ? Also, I would recommend using the latest svn revision which uses a 2.6.21.5 kernel with a lot of IRQ and PCI mapping rewrites. Thank you very much for your interest in OpenWrt. Le lundi 18 juin 2007, Christophe Lucas a écrit : > Hi guys, > > Here a patch against gpio.c, because it uses asm/gpio.h instead of > asm/mach-adm5120/gpio.h. In other words, it cannot compile here without > this patch against linux-2.6.21.1. > > Regards, > > - Christophe - > > > --- linux-2.6.21.1-orig/arch/mips/adm5120/gpio.c 2007-06-18 > 16:10:27.000000000 +0200 +++ linux-2.6.21.1/arch/mips/adm5120/gpio.c > 2007-06-18 15:57:18.000000000 +0200 @@ -32,7 +32,7 @@ > > #include <asm/addrspace.h> > #include <asm/io.h> > -#include <asm/gpio.h> > +#include <asm/mach-adm5120/gpio.h> > > #include <asm/mach-adm5120/adm5120_defs.h> > #include <asm/mach-adm5120/adm5120_info.h> > > _______________________________________________ > openwrt-devel mailing list > [email protected] > http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel -- Cordialement, Florian Fainelli ---------------------------------------------
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ openwrt-devel mailing list [email protected] http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
