This file will be shared with the ubidump tool in the future.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
* crc16.h and crc16.c were copied from the linux kernel.
* crc32.h and crc32.c were copied from mtd-utils and amended.
-* ubifs-media.h is fs/ubifs/ubifs-media.h from the linux kernel
* ubifs.h is a selection of definitions from fs/ubifs/ubifs.h from the linux kernel.
* key.h is copied from fs/ubifs/key.h from the linux kernel.
* defs.h is a bunch of definitions to smooth things over.
#undef crc32
#include "compr.h"
-#include "ubifs-media.h"
#include "mkfs.ubifs.h"
static void *lzo_mem;
#include <uuid/uuid.h>
#include <sys/file.h>
+#include <mtd/ubifs-media.h>
+
/* common.h requires the PROGRAM_NAME macro */
#define PROGRAM_NAME "mkfs.ubifs"
#include "common.h"
#include "libubi.h"
#include "defs.h"
#include "crc16.h"
-#include "ubifs-media.h"
#include "ubifs.h"
#include "key.h"
#include "lpt.h"