diff options
Diffstat (limited to 'arch/blackfin/mach-bf548/boards/ezkit.c')
-rw-r--r-- | arch/blackfin/mach-bf548/boards/ezkit.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/blackfin/mach-bf548/boards/ezkit.c b/arch/blackfin/mach-bf548/boards/ezkit.c index 1fe7ff286619..4204b9842532 100644 --- a/arch/blackfin/mach-bf548/boards/ezkit.c +++ b/arch/blackfin/mach-bf548/boards/ezkit.c | |||
@@ -159,7 +159,7 @@ static struct platform_device bf54x_kpad_device = { | |||
159 | #endif | 159 | #endif |
160 | 160 | ||
161 | #if IS_ENABLED(CONFIG_INPUT_BFIN_ROTARY) | 161 | #if IS_ENABLED(CONFIG_INPUT_BFIN_ROTARY) |
162 | #include <asm/bfin_rotary.h> | 162 | #include <linux/platform_data/bfin_rotary.h> |
163 | 163 | ||
164 | static struct bfin_rotary_platform_data bfin_rotary_data = { | 164 | static struct bfin_rotary_platform_data bfin_rotary_data = { |
165 | /*.rotary_up_key = KEY_UP,*/ | 165 | /*.rotary_up_key = KEY_UP,*/ |
@@ -173,6 +173,11 @@ static struct bfin_rotary_platform_data bfin_rotary_data = { | |||
173 | 173 | ||
174 | static struct resource bfin_rotary_resources[] = { | 174 | static struct resource bfin_rotary_resources[] = { |
175 | { | 175 | { |
176 | .start = CNT_CONFIG, | ||
177 | .end = CNT_CONFIG + 0xff, | ||
178 | .flags = IORESOURCE_MEM, | ||
179 | }, | ||
180 | { | ||
176 | .start = IRQ_CNT, | 181 | .start = IRQ_CNT, |
177 | .end = IRQ_CNT, | 182 | .end = IRQ_CNT, |
178 | .flags = IORESOURCE_IRQ, | 183 | .flags = IORESOURCE_IRQ, |