aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/ubi.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/ubi/ubi.h')
-rw-r--r--drivers/mtd/ubi/ubi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h
index d0e321885fd6..fd19f8d3bce8 100644
--- a/drivers/mtd/ubi/ubi.h
+++ b/drivers/mtd/ubi/ubi.h
@@ -44,7 +44,6 @@
44 44
45#include "ubi-media.h" 45#include "ubi-media.h"
46#include "scan.h" 46#include "scan.h"
47#include "debug.h"
48 47
49/* Maximum number of supported UBI devices */ 48/* Maximum number of supported UBI devices */
50#define UBI_MAX_DEVICES 32 49#define UBI_MAX_DEVICES 32
@@ -478,6 +477,8 @@ struct ubi_device {
478 struct ubi_debug_info *dbg; 477 struct ubi_debug_info *dbg;
479}; 478};
480 479
480#include "debug.h"
481
481extern struct kmem_cache *ubi_wl_entry_slab; 482extern struct kmem_cache *ubi_wl_entry_slab;
482extern const struct file_operations ubi_ctrl_cdev_operations; 483extern const struct file_operations ubi_ctrl_cdev_operations;
483extern const struct file_operations ubi_cdev_operations; 484extern const struct file_operations ubi_cdev_operations;