# Re: \[PATCH\] Input: OMAP: RX51: fix 'KEY\_10' compile breakage

- From: Dmitry Torokhov \<dmitry.torokhov@gmail.com\>
- Date: 2010-07-27 16:43:33 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2010/07/8914431
- Thread: https://ratatoskr.run/linux-input/2010/07/8914421/t.md

```text
Hi Paul,

On Mon, Jul 26, 2010 at 04:28:12PM -0600, Paul Walmsley wrote:
> 
> Commit 3fea60261e73dbf4a51130d40cafcc8465b0f2c3 replaces KEY_F10 and 
> KEY_F11 macro references with 'KEY_10' and 'KEY_11'.  This breaks 
> v2.6.35-rc6 compiles with omap3_defconfig:
> 
>   CC      arch/arm/mach-omap2/board-rx51-peripherals.o
> arch/arm/mach-omap2/board-rx51-peripherals.c:223: error: 'KEY_10' undeclared here (not in a function)
> arch/arm/mach-omap2/board-rx51-peripherals.c:226: error: 'KEY_11' undeclared here (not in a function)
> 
> Fix by renaming the macro references back to KEY_F10 and KEY_F11.
> 
> Compile-tested only.
> 

Thank you for the patch however Linus managed to fish off LKML and apply
another version that I posted earlier.

-- 
Dmitry
```
