summaryrefslogtreecommitdiff
path: root/packages/atmelwlandriver/atmelwlandriver-3.4.1.0/power-on-and-leds.patch
diff options
context:
space:
mode:
authorRene Wagner <rw@handhelds.org>2005-12-19 21:17:48 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-12-19 21:17:48 +0000
commit968fa5b91a65c55599ed4fa2f07bf5c81e407b3e (patch)
tree55186d774cb93527914f232e9c6356ef656d9c6f /packages/atmelwlandriver/atmelwlandriver-3.4.1.0/power-on-and-leds.patch
parent87fbff5a976b9fadafe520429107d531ff5b7833 (diff)
atmelwlandriver 3.4.1.0: fix build for h3600. patch courtesy of Erik Hovland. fixes Bug #542.
Diffstat (limited to 'packages/atmelwlandriver/atmelwlandriver-3.4.1.0/power-on-and-leds.patch')
-rw-r--r--packages/atmelwlandriver/atmelwlandriver-3.4.1.0/power-on-and-leds.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/atmelwlandriver/atmelwlandriver-3.4.1.0/power-on-and-leds.patch b/packages/atmelwlandriver/atmelwlandriver-3.4.1.0/power-on-and-leds.patch
index b2a515eec1..0ac06f1482 100644
--- a/packages/atmelwlandriver/atmelwlandriver-3.4.1.0/power-on-and-leds.patch
+++ b/packages/atmelwlandriver/atmelwlandriver-3.4.1.0/power-on-and-leds.patch
@@ -5,7 +5,7 @@ diff -Nurd atmelwlandriver-3.4.1.0/src/usb/vnetusba.c atmelwlandriver-3.4.1.0-hh
#include "vnetioctl.h"
#include "config.h"
-+#ifdef CONFIG_IPAQ_HANDHELD
++#ifdef CONFIG_ARCH_H5400
+#include <asm/mach-types.h>
+#include <asm/arch/ipaq.h>
+#include <asm/arch-pxa/h5400-asic.h>
@@ -49,7 +49,7 @@ diff -Nurd atmelwlandriver-3.4.1.0/src/usb/vnetusba.c atmelwlandriver-3.4.1.0-hh
return 0;
}
-+#ifdef CONFIG_IPAQ_HANDHELD
++#ifdef CONFIG_ARCH_H5400
+static struct timer_list led_timer;
+
+static void
@@ -73,7 +73,7 @@ diff -Nurd atmelwlandriver-3.4.1.0/src/usb/vnetusba.c atmelwlandriver-3.4.1.0-hh
+
+ init_timer (&led_timer);
+}
-+#endif /* CONFIG_IPAQ_HANDHELD */
++#endif /* CONFIG_ARCH_H5400*/
+
static int usb_vnet_tx(struct sk_buff *skb, struct net_device *dev)
{