summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2015-02-04 02:12:17 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-02-16 01:06:27 +0100
commit1ea74014aba7cd3ddcc3cf3eef92270d2e8429e8 (patch)
treef2bcfc4688d8ced765a974c5d8f0e5ba43f60b9e /drivers/input
parentInput: bfin_rotary - mark suspend and resume code as __maybe_unused (diff)
downloadlinux-1ea74014aba7cd3ddcc3cf3eef92270d2e8429e8.tar.xz
linux-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 'drivers/input')
-rw-r--r--drivers/input/misc/bfin_rotary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/bfin_rotary.c b/drivers/input/misc/bfin_rotary.c
index 994f7b0119fe..35ead69521a0 100644
--- a/drivers/input/misc/bfin_rotary.c
+++ b/drivers/input/misc/bfin_rotary.c
@@ -12,9 +12,9 @@
#include <linux/platform_device.h>
#include <linux/input.h>
#include <linux/slab.h>
+#include <linux/platform_data/bfin_rotary.h>
#include <asm/portmux.h>
-#include <asm/bfin_rotary.h>
static const u16 per_cnt[] = {
P_CNT_CUD,