diff options
author | John Crispin <blogic@openwrt.org> | 2008-06-23 20:31:34 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2008-06-23 20:31:34 +0000 |
commit | 7ee684bc7278cbe27f4a1bb6d796beb5fbcb833b (patch) | |
tree | 25c05a6bee226287770bec7f7b289677693fdc61 /target/linux/ifxmips/files/include/asm-mips | |
parent | 644807d7486779401fd1cdbb5b0aca3808e17ee6 (diff) | |
download | upstream-7ee684bc7278cbe27f4a1bb6d796beb5fbcb833b.tar.gz upstream-7ee684bc7278cbe27f4a1bb6d796beb5fbcb833b.tar.bz2 upstream-7ee684bc7278cbe27f4a1bb6d796beb5fbcb833b.zip |
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 8b2bae6759..6c9f59e0f6 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 b1c12d1d01..79849ae4fb 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 a42b0e79f2..0402d725f5 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; |