From 4a7bf56f7f98fee929c74dd579fa19529712974d Mon Sep 17 00:00:00 2001 From: Kukjin Kim Date: Thu, 30 Jul 2015 02:00:36 +0900 Subject: [PATCH] ARM: SAMSUNG: local backlight header in mach-s3c64xx This patch moves backlight header file into mach-s3c64xx. Because it is not used for others except mach-s3c64xx. Cc: Krzysztof Kozlowski Signed-off-by: Kukjin Kim --- .../{plat-samsung/include/plat => mach-s3c64xx}/backlight.h | 3 +-- arch/arm/mach-s3c64xx/dev-backlight.c | 3 ++- arch/arm/mach-s3c64xx/mach-smdk6410.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename arch/arm/{plat-samsung/include/plat => mach-s3c64xx}/backlight.h (92%) diff --git a/arch/arm/plat-samsung/include/plat/backlight.h b/arch/arm/mach-s3c64xx/backlight.h similarity index 92% rename from arch/arm/plat-samsung/include/plat/backlight.h rename to arch/arm/mach-s3c64xx/backlight.h index ad530c78fe8c..8dcacac523a2 100644 --- a/arch/arm/plat-samsung/include/plat/backlight.h +++ b/arch/arm/mach-s3c64xx/backlight.h @@ -1,5 +1,4 @@ -/* linux/arch/arm/plat-samsung/include/plat/backlight.h - * +/* * Copyright (c) 2011 Samsung Electronics Co., Ltd. * http://www.samsung.com * diff --git a/arch/arm/mach-s3c64xx/dev-backlight.c b/arch/arm/mach-s3c64xx/dev-backlight.c index 62f4648830b5..38c323e68e3f 100644 --- a/arch/arm/mach-s3c64xx/dev-backlight.c +++ b/arch/arm/mach-s3c64xx/dev-backlight.c @@ -17,7 +17,8 @@ #include #include -#include + +#include "backlight.h" struct samsung_bl_drvdata { struct platform_pwm_backlight_data plat_data; diff --git a/arch/arm/mach-s3c64xx/mach-smdk6410.c b/arch/arm/mach-s3c64xx/mach-smdk6410.c index b7447a92276e..d590b88bd8a8 100644 --- a/arch/arm/mach-s3c64xx/mach-smdk6410.c +++ b/arch/arm/mach-s3c64xx/mach-smdk6410.c @@ -68,9 +68,9 @@ #include #include #include -#include #include +#include "backlight.h" #include "common.h" #include "regs-modem.h" #include "regs-srom.h" -- 2.20.1