diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-06-23 20:31:34 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-06-23 20:31:34 +0000 |
commit | 43ba67e0d51fc116099a5556191bf09669cd8601 (patch) | |
tree | 25c05a6bee226287770bec7f7b289677693fdc61 /target/linux/ifxmips/files/include/asm-mips | |
parent | 9f4462d8018a0fb81250ca682a78480d3e0edf3d (diff) |
lots of code cleanup for ifxmips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11570 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ifxmips/files/include/asm-mips')
3 files changed, 4 insertions, 3 deletions
diff --git a/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_irq.h b/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_irq.h index 8b2bae675..6c9f59e0f 100644 --- a/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_irq.h +++ b/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_irq.h @@ -64,6 +64,6 @@ #define IFXMIPS_DMA_CH18_INT (INT_NUM_IM2_IRL0 + 16) #define IFXMIPS_DMA_CH19_INT (INT_NUM_IM2_IRL0 + 21) -extern void mask_and_ack_ifxmips_irq (unsigned int irq_nr); +extern void ifxmips_mask_and_ack_irq(unsigned int irq_nr); #endif diff --git a/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_mei_linux.h b/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_mei_linux.h index b1c12d1d0..79849ae4f 100644 --- a/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_mei_linux.h +++ b/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_mei_linux.h @@ -60,6 +60,7 @@ #include <asm/ifxmips/ifxmips_mei_app_ioctl.h> #include <asm/ifxmips/ifxmips_gpio.h> #include <asm/ifxmips/ifxmips_led.h> +#include <asm/ifxmips/ifxmips_irq.h> #ifdef CONFIG_DEVFS_FS #define IFXMIPS_DEVNAME "ifxmips" @@ -79,7 +80,7 @@ up(&id) #define MEI_MASK_AND_ACK_IRQ \ - mask_and_ack_ifxmips_irq + ifxmips_mask_and_ack_irq #define MEI_DISABLE_IRQ \ disable_irq diff --git a/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_mii0.h b/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_mii0.h index a42b0e79f..0402d725f 100644 --- a/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_mii0.h +++ b/target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_mii0.h @@ -229,7 +229,7 @@ enum duplex autoneg }; -struct switch_priv { +struct ifxmips_mii_priv { struct net_device_stats stats; int rx_packetlen; u8 *rx_packetdata; |