Hi Layne

i get the following error when testing your patch

John


In file included from arch/mips/ralink/rt305x/mach-mofi3500-3gn.c:158:0:
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:14:6:
error: nested redefinition of 'enum ramips_mach_type'
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:14:6:
error: redeclaration of 'enum ramips_mach_type'
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:14:6:
note: originally defined here
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:15:2:
error: redeclaration of enumerator 'RAMIPS_MACH_GENERIC'
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:15:2:
note: previous definition of 'RAMIPS_MACH_GENERIC' was here
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:17:2:
error: redeclaration of enumerator 'RAMIPS_MACH_RT_N15'
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:17:2:
note: previous definition of 'RAMIPS_MACH_RT_N15' was here
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:18:2:
error: redeclaration of enumerator 'RAMIPS_MACH_WZR_AGL300NH'
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:18:2:
note: previous definition of 'RAMIPS_MACH_WZR_AGL300NH' was here
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:21:2:
error: redeclaration of enumerator 'RAMIPS_MACH_DIR_300_REVB'
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:21:2:
note: previous definition of 'RAMIPS_MACH_DIR_300_REVB' was here
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:24:2:
error: redeclaration of enumerator 'RAMIPS_MACH_F5D8235_V2'
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:24:2:
note: previous definition of 'RAMIPS_MACH_F5D8235_V2' was here
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:25:2:
error: redeclaration of enumerator 'RAMIPS_MACH_PWH2004'
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:25:2:
note: previous definition of 'RAMIPS_MACH_PWH2004' was here
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:26:2:
error: redeclaration of enumerator 'RAMIPS_MACH_WCR150GN'
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:26:2:
note: previous definition of 'RAMIPS_MACH_WCR150GN' was here
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:27:2:
error: redeclaration of enumerator 'RAMIPS_MACH_V22RW_2X2'
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:27:2:
note: previous definition of 'RAMIPS_MACH_V22RW_2X2' was here
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:28:2:
error: redeclaration of enumerator 'RAMIPS_MACH_WHR_G300N'
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:28:2:
note: previous definition of 'RAMIPS_MACH_WHR_G300N' was here
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:29:2:
error: redeclaration of enumerator 'RAMIPS_MACH_FONERA20N'
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:29:2:
note: previous definition of 'RAMIPS_MACH_FONERA20N' was here
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:30:2:
error: redeclaration of enumerator 'RAMIPS_MACH_HW550_3G'
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:30:2:
note: previous definition of 'RAMIPS_MACH_HW550_3G' was here
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:31:2:
error: redeclaration of enumerator 'RAMIPS_MACH_MOFI3500_3GN'
/openwrt/owrt.dev/build_dir/linux-ramips_rt305x/linux-2.6.37.4/arch/mips/include/asm/mach-ralink/machine.h:31:2:
note: previous definition of 'RAMIPS_MACH_MOFI3500_3GN' was here
arch/mips/ralink/rt305x/mach-mofi3500-3gn.c:178:29: error: redefinition
of 'mofi3500_3gn_partitions'
arch/mips/ralink/rt305x/mach-mofi3500-3gn.c:37:29: note: previous
definition of 'mofi3500_3gn_partitions' was here
arch/mips/ralink/rt305x/mach-mofi3500-3gn.c:210:34: error: redefinition
of 'mofi3500_3gn_flash_data'
arch/mips/ralink/rt305x/mach-mofi3500-3gn.c:69:34: note: previous
definition of 'mofi3500_3gn_flash_data' was here
arch/mips/ralink/rt305x/mach-mofi3500-3gn.c:217:24: error: redefinition
of 'mofi3500_3gn_leds_gpio'
arch/mips/ralink/rt305x/mach-mofi3500-3gn.c:76:24: note: previous
definition of 'mofi3500_3gn_leds_gpio' was here
arch/mips/ralink/rt305x/mach-mofi3500-3gn.c:237:27: error: redefinition
of 'mofi3500_3gn_gpio_buttons'
arch/mips/ralink/rt305x/mach-mofi3500-3gn.c:96:27: note: previous
definition of 'mofi3500_3gn_gpio_buttons' was here
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to