From 43ba67e0d51fc116099a5556191bf09669cd8601 Mon Sep 17 00:00:00 2001 From: blogic Date: Mon, 23 Jun 2008 20:31:34 +0000 Subject: lots of code cleanup for ifxmips git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11570 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_irq.h | 2 +- .../linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_mei_linux.h | 3 ++- target/linux/ifxmips/files/include/asm-mips/ifxmips/ifxmips_mii0.h | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) (limited to 'target/linux/ifxmips/files/include') 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 #include #include +#include #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; -- cgit v1.2.3