From b67b2671c2b7fe3fd33481f820efd9de17ed4ab7 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Wed, 10 Jul 2013 09:27:06 +0200 Subject: treewide: Add missing includes A lot of files rely on include/driver.h including include/of.h (and this including include/errno.h. include the files explicitly so we can eventually get rid of including of.h from driver.h Signed-off-by: Sascha Hauer --- common/console.c | 1 + common/globalvar.c | 1 + common/memory_display.c | 1 + common/memtest.c | 1 + common/misc.c | 1 + common/startup.c | 1 + 6 files changed, 6 insertions(+) (limited to 'common') diff --git a/common/console.c b/common/console.c index 56bc864ad1..329bc72493 100644 --- a/common/console.c +++ b/common/console.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/common/globalvar.c b/common/globalvar.c index 41ce06e468..1f9b0cc1ee 100644 --- a/common/globalvar.c +++ b/common/globalvar.c @@ -1,6 +1,7 @@ #include #include #include +#include #include #include #include diff --git a/common/memory_display.c b/common/memory_display.c index 7e4f4da622..c8ae57a594 100644 --- a/common/memory_display.c +++ b/common/memory_display.c @@ -1,4 +1,5 @@ #include +#include #define DISP_LINE_LEN 16 diff --git a/common/memtest.c b/common/memtest.c index 22178cfea2..5303c92f62 100644 --- a/common/memtest.c +++ b/common/memtest.c @@ -25,6 +25,7 @@ #include #include #include +#include #include static const resource_size_t bitpattern[] = { diff --git a/common/misc.c b/common/misc.c index f73f4cfe99..65f3306bee 100644 --- a/common/misc.c +++ b/common/misc.c @@ -22,6 +22,7 @@ #include #include #include +#include int errno; EXPORT_SYMBOL(errno); diff --git a/common/startup.c b/common/startup.c index 2e0a4ba3dc..74c7735e31 100644 --- a/common/startup.c +++ b/common/startup.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3