similarity index 100%
rename from arch/arm/plat-samsung/include/plat/keypad.h
rename to arch/arm/mach-s3c64xx/keypad.h
@@ -57,7 +57,6 @@
#include <plat/gpio-cfg.h>
#include <linux/platform_data/spi-s3c64xx.h>
-#include <plat/keypad.h>
#include <plat/devs.h>
#include <plat/cpu.h>
#include <plat/adc.h>
@@ -67,6 +66,7 @@
#include "common.h"
#include "crag6410.h"
+#include "keypad.h"
#include "regs-gpio-memport.h"
#include "regs-modem.h"
#include "regs-sys.h"
@@ -67,11 +67,11 @@
#include <plat/cpu.h>
#include <plat/adc.h>
#include <linux/platform_data/touchscreen-s3c2410.h>
-#include <plat/keypad.h>
#include <plat/samsung-time.h>
#include "backlight.h"
#include "common.h"
+#include "keypad.h"
#include "regs-modem.h"
#include "regs-srom.h"
#include "regs-sys.h"
@@ -12,9 +12,10 @@
#include <linux/gpio.h>
#include <plat/gpio-cfg.h>
-#include <plat/keypad.h>
#include <mach/gpio-samsung.h>
+#include "keypad.h"
+
void samsung_keypad_cfg_gpio(unsigned int rows, unsigned int cols)
{
/* Set all the necessary GPK pins to special-function 3: KP_ROW[x] */
This patch moves keypad header file into mach-s3c64xx. Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Kukjin Kim <kgene@kernel.org> --- arch/arm/{plat-samsung/include/plat => mach-s3c64xx}/keypad.h | 0 arch/arm/mach-s3c64xx/mach-crag6410.c | 2 +- arch/arm/mach-s3c64xx/mach-smdk6410.c | 2 +- arch/arm/mach-s3c64xx/setup-keypad.c | 3 ++- 4 files changed, 4 insertions(+), 3 deletions(-) rename arch/arm/{plat-samsung/include/plat => mach-s3c64xx}/keypad.h (100%)