[kernel] fix myloader partition parser on 2.6.28
authorGabor Juhos <juhosg@openwrt.org>
Sun, 14 Dec 2008 06:30:22 +0000 (06:30 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 14 Dec 2008 06:30:22 +0000 (06:30 +0000)
SVN-Revision: 13625

target/linux/generic-2.6/patches-2.6.28/082-mtd_myloader_use_linux_byteorder_h.patch [new file with mode: 0644]

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 (file)
index 0000000..2461fa3
--- /dev/null
@@ -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