diff options
Diffstat (limited to 'target/linux/rdc-2.6/patches')
-rw-r--r-- | target/linux/rdc-2.6/patches/000-rdc_fixes.patch | 2 | ||||
-rw-r--r-- | target/linux/rdc-2.6/patches/001-rdc3210_flash_map.patch | 2 | ||||
-rw-r--r-- | target/linux/rdc-2.6/patches/002-r6040_ethernet.patch | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/rdc-2.6/patches/000-rdc_fixes.patch b/target/linux/rdc-2.6/patches/000-rdc_fixes.patch index 5e3878d08f..d62f938fd4 100644 --- a/target/linux/rdc-2.6/patches/000-rdc_fixes.patch +++ b/target/linux/rdc-2.6/patches/000-rdc_fixes.patch @@ -783,7 +783,7 @@ diff -urN linux-2.6.17/arch/i386/mach-rdc/led.h linux-2.6.17.new/arch/i386/mach- +#ifndef _LED_H_INCLUDED +#define _LED_H_INCLUDED + -+#include <linux/config.h> ++#include <linux/autoconf.h> + +#define LED_VERSION "v1.0" +#define LED_MAJOR 166 diff --git a/target/linux/rdc-2.6/patches/001-rdc3210_flash_map.patch b/target/linux/rdc-2.6/patches/001-rdc3210_flash_map.patch index a3d2ac6b74..6b4b2af6c1 100644 --- a/target/linux/rdc-2.6/patches/001-rdc3210_flash_map.patch +++ b/target/linux/rdc-2.6/patches/001-rdc3210_flash_map.patch @@ -74,7 +74,7 @@ diff -urN linux-2.6.17/drivers/mtd/maps/rdc3210.c linux-2.6.17.new/drivers/mtd/m +#include <linux/mtd/mtd.h> +#include <linux/mtd/map.h> +#include <linux/mtd/partitions.h> -+#include <linux/config.h> ++#include <linux/autoconf.h> + +#define WINDOW_ADDR 0xFFC00000 +#define WINDOW_SIZE 0x00400000 diff --git a/target/linux/rdc-2.6/patches/002-r6040_ethernet.patch b/target/linux/rdc-2.6/patches/002-r6040_ethernet.patch index 88a9ea17ea..1402369bfb 100644 --- a/target/linux/rdc-2.6/patches/002-r6040_ethernet.patch +++ b/target/linux/rdc-2.6/patches/002-r6040_ethernet.patch @@ -187,7 +187,7 @@ diff -urN linux-2.6.17/drivers/net/r6040.c linux-2.6.17.new/drivers/net/r6040.c + +static int rdc_open(struct net_device *dev); +static int rdc_start_xmit(struct sk_buff *skb, struct net_device *dev); -+static irqreturn_t rdc_interrupt(int irq, void *dev_id, struct pt_regs *regs); ++static irqreturn_t rdc_interrupt(int irq, void *dev_id); +static struct net_device_stats *rdc_get_stats(struct net_device *dev); +static int rdc_close(struct net_device *dev); +static void set_multicast_list(struct net_device *dev); @@ -439,7 +439,7 @@ diff -urN linux-2.6.17/drivers/net/r6040.c linux-2.6.17.new/drivers/net/r6040.c + +/* The RDC interrupt handler. */ +static irqreturn_t -+rdc_interrupt(int irq, void *dev_id, struct pt_regs *regs) ++rdc_interrupt(int irq, void *dev_id) +{ + struct net_device *dev = dev_id; + struct rdc_private *lp; |