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.
Showing the changes to include/linux/platform_data (1 of 4 files). Show all
Unified · Split
| @@ -40,6 +40,7 @@ struct bfin_rotary_platform_data { · 39 unmodified lines | |||
| 40 | unsigned short debounce; /* 0..17 */ | 40 | unsigned short debounce; /* 0..17 */ |
| 41 | unsigned short mode; | 41 | unsigned short mode; |
| 42 | unsigned short pm_wakeup; | 42 | unsigned short pm_wakeup; |
| 43 | unsigned short *pin_list; | ||
| 43 | }; | 44 | }; |
| 44 | 45 | ||
| 45 | /* CNT_CONFIG bitmasks */ | 46 | /* CNT_CONFIG bitmasks */ |