mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
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>
This commit is contained in:
parent
5ec662e7a6
commit
1ea74014ab
6 changed files with 5 additions and 5 deletions
|
@ -666,7 +666,7 @@ static struct platform_device bfin_sport1_uart_device = {
|
|||
#endif
|
||||
|
||||
#if IS_ENABLED(CONFIG_INPUT_BFIN_ROTARY)
|
||||
#include <asm/bfin_rotary.h>
|
||||
#include <linux/platform_data/bfin_rotary.h>
|
||||
|
||||
static struct bfin_rotary_platform_data bfin_rotary_data = {
|
||||
/*.rotary_up_key = KEY_UP,*/
|
||||
|
|
|
@ -1092,7 +1092,7 @@ static struct platform_device bfin_device_gpiokeys = {
|
|||
#endif
|
||||
|
||||
#if IS_ENABLED(CONFIG_INPUT_BFIN_ROTARY)
|
||||
#include <asm/bfin_rotary.h>
|
||||
#include <linux/platform_data/bfin_rotary.h>
|
||||
|
||||
static struct bfin_rotary_platform_data bfin_rotary_data = {
|
||||
/*.rotary_up_key = KEY_UP,*/
|
||||
|
|
|
@ -159,7 +159,7 @@ static struct platform_device bf54x_kpad_device = {
|
|||
#endif
|
||||
|
||||
#if IS_ENABLED(CONFIG_INPUT_BFIN_ROTARY)
|
||||
#include <asm/bfin_rotary.h>
|
||||
#include <linux/platform_data/bfin_rotary.h>
|
||||
|
||||
static struct bfin_rotary_platform_data bfin_rotary_data = {
|
||||
/*.rotary_up_key = KEY_UP,*/
|
||||
|
|
|
@ -75,7 +75,7 @@ static struct platform_device bfin_isp1760_device = {
|
|||
#endif
|
||||
|
||||
#if IS_ENABLED(CONFIG_INPUT_BFIN_ROTARY)
|
||||
#include <asm/bfin_rotary.h>
|
||||
#include <linux/platform_data/bfin_rotary.h>
|
||||
|
||||
static struct bfin_rotary_platform_data bfin_rotary_data = {
|
||||
/*.rotary_up_key = KEY_UP,*/
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue