summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c24xx/mach-mini2440.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-08-04 21:26:45 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2020-08-17 18:54:33 +0200
commit80c0b155e564123e4e4cb31ff1f68366919430c0 (patch)
tree6333205d194c7f52dfc780682fdf6a788ca451f2 /arch/arm/mach-s3c24xx/mach-mini2440.c
parent16b17fcf77f2145b98cabbca6bfe6ea13c90bb08 (diff)
downloadlinux-stable-80c0b155e564123e4e4cb31ff1f68366919430c0.tar.gz
linux-stable-80c0b155e564123e4e4cb31ff1f68366919430c0.tar.bz2
linux-stable-80c0b155e564123e4e4cb31ff1f68366919430c0.zip
ARM: s3c: remove plat-samsung/.../samsung-time.h
Remove the arch/arm/plat-samsung/include/plat/samsung-time.h header and move the contents to common.h headers in mach-s3c24xx and mach-s3c64xx. The definition of declared functions is already in common.c in mach directories, so it is logically to put declaration next to them. This is also one step further towards removal of plat-samsung directory and it fixes W=1 build warnings: arch/arm/mach-s3c64xx/common.c:174:13: warning: no previous prototype for 'samsung_set_timer_source' [-Wmissing-prototypes] arch/arm/mach-s3c64xx/common.c:180:13: warning: no previous prototype for 'samsung_timer_init' [-Wmissing-prototypes] Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Tomasz Figa <tomasz.figa@gmail.com>
Diffstat (limited to 'arch/arm/mach-s3c24xx/mach-mini2440.c')
-rw-r--r--arch/arm/mach-s3c24xx/mach-mini2440.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c24xx/mach-mini2440.c b/arch/arm/mach-s3c24xx/mach-mini2440.c
index 235749448311..936f7e3b7213 100644
--- a/arch/arm/mach-s3c24xx/mach-mini2440.c
+++ b/arch/arm/mach-s3c24xx/mach-mini2440.c
@@ -52,7 +52,6 @@
#include <plat/gpio-cfg.h>
#include <plat/devs.h>
#include <plat/cpu.h>
-#include <plat/samsung-time.h>
#include <sound/s3c24xx_uda134x.h>