aboutsummaryrefslogtreecommitdiffstats
path: root/include/mtd/ubi-header.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-02-16 15:42:52 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-04-17 11:31:58 +0300
commit92a74f1c1c9ca4d8009bfdea1c5febb7c0674f15 (patch)
tree513e647abdbad5137146ab7c765a3345ca18765c /include/mtd/ubi-header.h
parentUBI: be verbose when debuggin is enabled (diff)
downloadlinux-dev-92a74f1c1c9ca4d8009bfdea1c5febb7c0674f15.tar.xz
linux-dev-92a74f1c1c9ca4d8009bfdea1c5febb7c0674f15.zip
UBI: make ubi-header.h local
The new trend in linux is not to store headers which define on-media format in the include/ directory, but instead, store them locally. This is because these headers "do not define any kernel<->userspace interface". Do so for UBI as well. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to '')
-rw-r--r--drivers/mtd/ubi/ubi-media.h (renamed from include/mtd/ubi-header.h)8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/mtd/ubi-header.h b/drivers/mtd/ubi/ubi-media.h
index 292f916ea564..c3185d9fd048 100644
--- a/include/mtd/ubi-header.h
+++ b/drivers/mtd/ubi/ubi-media.h
@@ -24,11 +24,11 @@
/*
* This file defines the layout of UBI headers and all the other UBI on-flash
- * data structures. May be included by user-space.
+ * data structures.
*/
-#ifndef __UBI_HEADER_H__
-#define __UBI_HEADER_H__
+#ifndef __UBI_MEDIA_H__
+#define __UBI_MEDIA_H__
#include <asm/byteorder.h>
@@ -369,4 +369,4 @@ struct ubi_vtbl_record {
__be32 crc;
} __attribute__ ((packed));
-#endif /* !__UBI_HEADER_H__ */
+#endif /* !__UBI_MEDIA_H__ */