summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-12-14 06:30:22 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-12-14 06:30:22 +0000
commit5bbc78dd7cfaf5fd050ea8ae36c64bc74af95762 (patch)
tree203a4c1083ca63faff1e3c4f961075fbca922d84 /target
parent4f7d66eed3d4d8ec9f6d7bd9714e292e58121812 (diff)
[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')
-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