summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/patches-2.6.30/0004-rsdk-include-nonewfiles.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/realtek/patches-2.6.30/0004-rsdk-include-nonewfiles.patch')
-rw-r--r--target/linux/realtek/patches-2.6.30/0004-rsdk-include-nonewfiles.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/realtek/patches-2.6.30/0004-rsdk-include-nonewfiles.patch b/target/linux/realtek/patches-2.6.30/0004-rsdk-include-nonewfiles.patch
index f485a84f5..17770499b 100644
--- a/target/linux/realtek/patches-2.6.30/0004-rsdk-include-nonewfiles.patch
+++ b/target/linux/realtek/patches-2.6.30/0004-rsdk-include-nonewfiles.patch
@@ -325,7 +325,7 @@
-extern struct irq_desc *irq_to_desc(unsigned int irq);
+#if defined(CONFIG_RTL_819X) && !defined(CONFIG_RTL_8196C) && !defined(CONFIG_SPARSE_IRQ)
+ //__MIPS16 is defined at include/net/rtl/rtl_types.h
-+ extern __attribute__((mips16)) struct irq_desc *irq_to_desc(unsigned int irq);
++ extern struct irq_desc *irq_to_desc(unsigned int irq);
+#else
+ extern struct irq_desc *irq_to_desc(unsigned int irq);
+#endif