From d9fa8600dbf08b3eb9de1a90a0fe529f5d9e93f0 Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Sun, 31 Jul 2011 19:51:07 -0400 Subject: [PATCH] arm: fix implicit use of asm/sizes.h in plat-s5p/plat-samsung To several variations of messages similar to this: arch/arm/plat-s5p/dev-onenand.c:25: error: 'SZ_128K' undeclared here (not in a function) arch/arm/plat-s5p/dev-onenand.c:30: error: 'SZ_8K' undeclared here (not in a function) arch/arm/plat-samsung/dev-wdt.c:25: error: 'SZ_1K' undeclared here (not in a function) arch/arm/plat-s5p/dev-ehci.c:23: error: 'SZ_256' undeclared here (not in a function) Signed-off-by: Paul Gortmaker --- arch/arm/plat-s5p/dev-ehci.c | 1 + arch/arm/plat-s5p/dev-onenand.c | 2 ++ arch/arm/plat-samsung/dev-adc.c | 2 ++ arch/arm/plat-samsung/dev-ide.c | 2 ++ arch/arm/plat-samsung/dev-ts.c | 2 ++ arch/arm/plat-samsung/dev-wdt.c | 2 ++ 6 files changed, 11 insertions(+) diff --git a/arch/arm/plat-s5p/dev-ehci.c b/arch/arm/plat-s5p/dev-ehci.c index 94080fff9e9b..200abdc9af62 100644 --- a/arch/arm/plat-s5p/dev-ehci.c +++ b/arch/arm/plat-s5p/dev-ehci.c @@ -10,6 +10,7 @@ */ #include +#include #include #include #include diff --git a/arch/arm/plat-s5p/dev-onenand.c b/arch/arm/plat-s5p/dev-onenand.c index 20336c8f2479..bd26909154ee 100644 --- a/arch/arm/plat-s5p/dev-onenand.c +++ b/arch/arm/plat-s5p/dev-onenand.c @@ -16,6 +16,8 @@ #include #include +#include + #include #include diff --git a/arch/arm/plat-samsung/dev-adc.c b/arch/arm/plat-samsung/dev-adc.c index 9d903d4095ed..16b0f9439313 100644 --- a/arch/arm/plat-samsung/dev-adc.c +++ b/arch/arm/plat-samsung/dev-adc.c @@ -16,6 +16,8 @@ #include #include +#include + #include #include #include diff --git a/arch/arm/plat-samsung/dev-ide.c b/arch/arm/plat-samsung/dev-ide.c index b497982795a7..5407574556bf 100644 --- a/arch/arm/plat-samsung/dev-ide.c +++ b/arch/arm/plat-samsung/dev-ide.c @@ -14,6 +14,8 @@ #include #include +#include + #include #include #include diff --git a/arch/arm/plat-samsung/dev-ts.c b/arch/arm/plat-samsung/dev-ts.c index 82543f0248ac..2dffbec5c74a 100644 --- a/arch/arm/plat-samsung/dev-ts.c +++ b/arch/arm/plat-samsung/dev-ts.c @@ -20,6 +20,8 @@ #include #include +#include + #include #include diff --git a/arch/arm/plat-samsung/dev-wdt.c b/arch/arm/plat-samsung/dev-wdt.c index 019b5b8cf14c..c74642745273 100644 --- a/arch/arm/plat-samsung/dev-wdt.c +++ b/arch/arm/plat-samsung/dev-wdt.c @@ -16,6 +16,8 @@ #include #include +#include + #include static struct resource s3c_wdt_resource[] = { -- 2.39.5