diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2015-02-05 21:23:10 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-02-15 16:06:27 -0800 |
commit | 5ea0699a7b452c9e1ecdc81e354fa91dfe8da4f6 (patch) | |
tree | f1f43df85175947616147ce0c471629f9c967da8 /include | |
parent | 1ea74014aba7cd3ddcc3cf3eef92270d2e8429e8 (diff) | |
download | linux-stable-5ea0699a7b452c9e1ecdc81e354fa91dfe8da4f6.tar.gz linux-stable-5ea0699a7b452c9e1ecdc81e354fa91dfe8da4f6.tar.bz2 linux-stable-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 */ |