summaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2012-05-13 23:01:01 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2012-05-14 16:02:01 +0200
commitd983ea32f125325c6524731d9f8055a3a8155247 (patch)
treec60a48c2a114c7af799eae51d6b0686970d445b0 /meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc
parent2490c44e51fcd83ea9f5ebd0f195e58499c02224 (diff)
downloadmeta-openembedded-d983ea32f125325c6524731d9f8055a3a8155247.tar.gz
ubi-utils-klibc: clean patch
* after klibc refactoring * bump PR Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc')
-rw-r--r--meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/libubi.c.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/libubi.c.patch b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/libubi.c.patch
index 97c4fa3abf..8278a4fc7c 100644
--- a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/libubi.c.patch
+++ b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/libubi.c.patch
@@ -1,32 +1,5 @@
1--- a/ubi-utils/libubi.c 2012-05-01 01:57:51.000000000 +0200 1--- a/ubi-utils/libubi.c 2012-05-01 01:57:51.000000000 +0200
2+++ b/ubi-utils/libubi.c 2012-05-01 01:55:14.000000000 +0200 2+++ b/ubi-utils/libubi.c 2012-05-01 01:55:14.000000000 +0200
3@@ -36,6 +36,26 @@
4 #include "libubi_int.h"
5 #include "common.h"
6
7+/* parts of mtd/ubi-user.h */
8+
9+/* Set an UBI volume property */
10+#define UBI_IOCSETPROP _IOW(UBI_VOL_IOC_MAGIC, 6, struct ubi_set_prop_req)
11+
12+/**
13+ * struct ubi_set_prop_req - a data structure used to set an ubi volume
14+ * property.
15+ * @property: property to set (%UBI_PROP_DIRECT_WRITE)
16+ * @padding: reserved for future, not used, has to be zeroed
17+ * @value: value to set
18+ */
19+struct ubi_set_prop_req {
20+ uint8_t property;
21+ uint8_t padding[7];
22+ uint64_t value;
23+} __attribute__ ((packed));
24+
25+/* end parts of mtd/ubi-user.h */
26+
27 /**
28 * mkpath - compose full path from 2 given components.
29 * @path: the first component
30@@ -382,8 +402,8 @@ 3@@ -382,8 +402,8 @@
31 return errmsg("\"%s\" is not a character device", node); 4 return errmsg("\"%s\" is not a character device", node);
32 } 5 }