aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-12-14 06:30:22 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-12-14 06:30:22 +0000
commit41eef483769dd02e1f597f65eeebf7c089f2f0d2 (patch)
tree203a4c1083ca63faff1e3c4f961075fbca922d84 /target/linux/generic-2.6
parent078f8e44e87587b95d12a84fde5cc82ae49ffb2d (diff)
downloadmaster-187ad058-41eef483769dd02e1f597f65eeebf7c089f2f0d2.tar.gz
master-187ad058-41eef483769dd02e1f597f65eeebf7c089f2f0d2.tar.bz2
master-187ad058-41eef483769dd02e1f597f65eeebf7c089f2f0d2.zip
[kernel] fix myloader partition parser on 2.6.28
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13625 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6')
-rw-r--r--target/linux/generic-2.6/patches-2.6.28/082-mtd_myloader_use_linux_byteorder_h.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.28/082-mtd_myloader_use_linux_byteorder_h.patch b/target/linux/generic-2.6/patches-2.6.28/082-mtd_myloader_use_linux_byteorder_h.patch
new file mode 100644
index 0000000000..2461fa36e3
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.28/082-mtd_myloader_use_linux_byteorder_h.patch
@@ -0,0 +1,11 @@
+--- a/drivers/mtd/myloader.c
++++ b/drivers/mtd/myloader.c
+@@ -19,7 +19,7 @@
+ #include <linux/vmalloc.h>
+ #include <linux/mtd/mtd.h>
+ #include <linux/mtd/partitions.h>
+-#include <linux/byteorder/generic.h>
++#include <linux/byteorder.h>
+ #include <linux/myloader.h>
+
+ #define BLOCK_LEN_MIN 0x10000