diff options
Diffstat (limited to 'arch/blackfin/mach-bf609/boards/ezkit.c')
-rw-r--r-- | arch/blackfin/mach-bf609/boards/ezkit.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/blackfin/mach-bf609/boards/ezkit.c b/arch/blackfin/mach-bf609/boards/ezkit.c index e2c0b024ce88..7f9fc272ec30 100644 --- a/arch/blackfin/mach-bf609/boards/ezkit.c +++ b/arch/blackfin/mach-bf609/boards/ezkit.c | |||
@@ -75,7 +75,7 @@ static struct platform_device bfin_isp1760_device = { | |||
75 | #endif | 75 | #endif |
76 | 76 | ||
77 | #if IS_ENABLED(CONFIG_INPUT_BFIN_ROTARY) | 77 | #if IS_ENABLED(CONFIG_INPUT_BFIN_ROTARY) |
78 | #include <asm/bfin_rotary.h> | 78 | #include <linux/platform_data/bfin_rotary.h> |
79 | 79 | ||
80 | static struct bfin_rotary_platform_data bfin_rotary_data = { | 80 | static struct bfin_rotary_platform_data bfin_rotary_data = { |
81 | /*.rotary_up_key = KEY_UP,*/ | 81 | /*.rotary_up_key = KEY_UP,*/ |
@@ -88,6 +88,11 @@ static struct bfin_rotary_platform_data bfin_rotary_data = { | |||
88 | 88 | ||
89 | static struct resource bfin_rotary_resources[] = { | 89 | static struct resource bfin_rotary_resources[] = { |
90 | { | 90 | { |
91 | .start = CNT_CONFIG, | ||
92 | .end = CNT_CONFIG + 0xff, | ||
93 | .flags = IORESOURCE_MEM, | ||
94 | }, | ||
95 | { | ||
91 | .start = IRQ_CNT, | 96 | .start = IRQ_CNT, |
92 | .end = IRQ_CNT, | 97 | .end = IRQ_CNT, |
93 | .flags = IORESOURCE_IRQ, | 98 | .flags = IORESOURCE_IRQ, |