summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorSonic Zhang2015-02-06 06:23:10 +0100
committerDmitry Torokhov2015-02-16 01:06:27 +0100
commit5ea0699a7b452c9e1ecdc81e354fa91dfe8da4f6 (patch)
treef1f43df85175947616147ce0c471629f9c967da8 /include/linux/platform_data
parentInput: bfin_rotary - move platform header to linux/platform_data (diff)
downloadkernel-qcow2-linux-5ea0699a7b452c9e1ecdc81e354fa91dfe8da4f6.tar.gz
kernel-qcow2-linux-5ea0699a7b452c9e1ecdc81e354fa91dfe8da4f6.tar.xz
kernel-qcow2-linux-5ea0699a7b452c9e1ecdc81e354fa91dfe8da4f6.zip
Input: bfin_rotary - move pin lists into into platform data
Newer Blackfin boards use pinctrl API to manage pins and the legacy peripherial lists are not useful on them. Let's move pin lists into platform data so older boards can still use them and newer boards can use the modern API. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/bfin_rotary.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/bfin_rotary.h b/include/linux/platform_data/bfin_rotary.h
index 8895a750c70c..98829370fee2 100644
--- a/include/linux/platform_data/bfin_rotary.h
+++ b/include/linux/platform_data/bfin_rotary.h
@@ -40,6 +40,7 @@ struct bfin_rotary_platform_data {
unsigned short debounce; /* 0..17 */
unsigned short mode;
unsigned short pm_wakeup;
+ unsigned short *pin_list;
};
/* CNT_CONFIG bitmasks */