linux-mips
[Top] [All Lists]

cobalt_btns.c <-> struct platform_device compile error

To: Dmitry Torokhov <dtor@mail.ru>, ralf@linux-mips.org
Subject: cobalt_btns.c <-> struct platform_device compile error
From: Adrian Bunk <bunk@stusta.de>
Date: Sun, 17 Feb 2008 22:09:35 +0200
Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.17+20080114 (2008-01-14)
Commit b037b08e59633d939d79f1df9c43c6625f8db904 broke the compilation of 
cobalt_btns.c:

<--  snip  -->

...
  CC      drivers/input/misc/cobalt_btns.o
...
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/input/misc/cobalt_btns.c: In 
function 'cobalt_buttons_probe':
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/input/misc/cobalt_btns.c:101: 
error: 'struct platform_device' has no member named 'keymap'
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/input/misc/cobalt_btns.c:102: 
error: 'struct platform_device' has no member named 'keymap'
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/input/misc/cobalt_btns.c:102: 
error: 'struct platform_device' has no member named 'keymap'
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/input/misc/cobalt_btns.c:102: 
error: 'struct platform_device' has no member named 'keymap'
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/input/misc/cobalt_btns.c:102: 
error: 'struct platform_device' has no member named 'keymap'
...
make[4]: *** [drivers/input/misc/cobalt_btns.o] Error 1

<--  snip  -->

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


<Prev in Thread] Current Thread [Next in Thread>