diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2015-02-06 06:23:10 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-02-16 01:06:27 +0100 |
commit | 5ea0699a7b452c9e1ecdc81e354fa91dfe8da4f6 (patch) | |
tree | f1f43df85175947616147ce0c471629f9c967da8 /include | |
parent | Input: bfin_rotary - move platform header to linux/platform_data (diff) | |
download | linux-5ea0699a7b452c9e1ecdc81e354fa91dfe8da4f6.tar.xz 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')
-rw-r--r-- | include/linux/platform_data/bfin_rotary.h | 1 |
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 */ |