summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf527
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2015-02-03 17:12:17 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-02-15 16:06:27 -0800
commit1ea74014aba7cd3ddcc3cf3eef92270d2e8429e8 (patch)
treef2bcfc4688d8ced765a974c5d8f0e5ba43f60b9e /arch/blackfin/mach-bf527
parent5ec662e7a6b8bd266382c8e7a3f236ffc8e1acf9 (diff)
downloadlinux-stable-1ea74014aba7cd3ddcc3cf3eef92270d2e8429e8.tar.gz
linux-stable-1ea74014aba7cd3ddcc3cf3eef92270d2e8429e8.tar.bz2
linux-stable-1ea74014aba7cd3ddcc3cf3eef92270d2e8429e8.zip
Input: bfin_rotary - move platform header to linux/platform_data
The platform data definition of the rotary driver should be generic for all architectures. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'arch/blackfin/mach-bf527')
-rw-r--r--arch/blackfin/mach-bf527/boards/ad7160eval.c2
-rw-r--r--arch/blackfin/mach-bf527/boards/ezkit.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/mach-bf527/boards/ad7160eval.c b/arch/blackfin/mach-bf527/boards/ad7160eval.c
index 9501bd8d9cd1..beb011b6d2b3 100644
--- a/arch/blackfin/mach-bf527/boards/ad7160eval.c
+++ b/arch/blackfin/mach-bf527/boards/ad7160eval.c
@@ -666,7 +666,7 @@ static struct platform_device bfin_sport1_uart_device = {
#endif
#if IS_ENABLED(CONFIG_INPUT_BFIN_ROTARY)
-#include <asm/bfin_rotary.h>
+#include <linux/platform_data/bfin_rotary.h>
static struct bfin_rotary_platform_data bfin_rotary_data = {
/*.rotary_up_key = KEY_UP,*/
diff --git a/arch/blackfin/mach-bf527/boards/ezkit.c b/arch/blackfin/mach-bf527/boards/ezkit.c
index d64f565dc2a0..728cda469952 100644
--- a/arch/blackfin/mach-bf527/boards/ezkit.c
+++ b/arch/blackfin/mach-bf527/boards/ezkit.c
@@ -1092,7 +1092,7 @@ static struct platform_device bfin_device_gpiokeys = {
#endif
#if IS_ENABLED(CONFIG_INPUT_BFIN_ROTARY)
-#include <asm/bfin_rotary.h>
+#include <linux/platform_data/bfin_rotary.h>
static struct bfin_rotary_platform_data bfin_rotary_data = {
/*.rotary_up_key = KEY_UP,*/