diff options
Diffstat (limited to 'drivers/mtd/ubi')
| -rw-r--r-- | drivers/mtd/ubi/attach.c | 1 | ||||
| -rw-r--r-- | drivers/mtd/ubi/build.c | 1 | ||||
| -rw-r--r-- | drivers/mtd/ubi/debug.c | 1 | ||||
| -rw-r--r-- | drivers/mtd/ubi/debug.h | 1 | ||||
| -rw-r--r-- | drivers/mtd/ubi/ubi.h | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mtd/ubi/attach.c b/drivers/mtd/ubi/attach.c index e488caa5547..2ef8fde3d32 100644 --- a/drivers/mtd/ubi/attach.c +++ b/drivers/mtd/ubi/attach.c @@ -81,6 +81,7 @@ #include <div64.h> #include <linux/bug.h> #include <linux/err.h> +#include <linux/printk.h> #endif #include <linux/math64.h> diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c index 3ac0b194028..a1941b8eb88 100644 --- a/drivers/mtd/ubi/build.c +++ b/drivers/mtd/ubi/build.c @@ -33,6 +33,7 @@ #else #include <linux/bug.h> #include <linux/log2.h> +#include <linux/printk.h> #endif #include <linux/err.h> #include <ubi_uboot.h> diff --git a/drivers/mtd/ubi/debug.c b/drivers/mtd/ubi/debug.c index d2b7ca5e33f..b119cb6e9c0 100644 --- a/drivers/mtd/ubi/debug.c +++ b/drivers/mtd/ubi/debug.c @@ -8,6 +8,7 @@ #include <hexdump.h> #include <malloc.h> #include <ubi_uboot.h> +#include <linux/printk.h> #include "ubi.h" #ifndef __UBOOT__ #include <linux/debugfs.h> diff --git a/drivers/mtd/ubi/debug.h b/drivers/mtd/ubi/debug.h index 9c8ce51636b..2e13ebb2fb7 100644 --- a/drivers/mtd/ubi/debug.h +++ b/drivers/mtd/ubi/debug.h @@ -17,6 +17,7 @@ void ubi_dump_vid_hdr(const struct ubi_vid_hdr *vid_hdr); #endif #include <hexdump.h> +#include <linux/printk.h> #ifndef __UBOOT__ #define ubi_assert(expr) do { \ diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h index f44960186bb..175988899c3 100644 --- a/drivers/mtd/ubi/ubi.h +++ b/drivers/mtd/ubi/ubi.h @@ -28,6 +28,7 @@ #include <asm/pgtable.h> #else #include <ubi_uboot.h> +#include <linux/printk.h> #endif #include <linux/mtd/mtd.h> #include <linux/mtd/ubi.h> |
