linux-mips
[Top] [All Lists]

Cobalt build error

To: linux-mips@linux-mips.org
Subject: Cobalt build error
From: Ralf Baechle <ralf@linux-mips.org>
Date: Fri, 7 Mar 2008 15:32:56 +0000
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.17 (2007-11-01)
Maybe some Cobalt hacker can sort out these issues in the latest kernel.
I could try to fix the build but don't have any Cobalt kit for testing ...

  Ralf

  CC      drivers/input/misc/cobalt_btns.o
drivers/input/misc/cobalt_btns.c: In function ‘cobalt_buttons_probe’:
drivers/input/misc/cobalt_btns.c:100: error: ‘struct input_dev’ has no member 
named ‘cdev’
drivers/input/misc/cobalt_btns.c:102: error: ‘struct platform_device’ has no 
member named ‘keymap’
drivers/input/misc/cobalt_btns.c:103: error: ‘struct platform_device’ has no 
member named ‘keymap’
drivers/input/misc/cobalt_btns.c:103: error: ‘struct platform_device’ has no 
member named ‘keymap’
drivers/input/misc/cobalt_btns.c:103: error: ‘struct platform_device’ has no 
member named ‘keymap’
drivers/input/misc/cobalt_btns.c:103: error: ‘struct platform_device’ has no 
member named ‘keymap’
drivers/input/misc/cobalt_btns.c:103: warning: type defaults to ‘int’ in 
declaration of ‘type name’
drivers/input/misc/cobalt_btns.c:103: warning: type defaults to ‘int’ in 
declaration of ‘type name’
drivers/input/misc/cobalt_btns.c:103: error: size of array ‘type name’ is 
negative
drivers/input/misc/cobalt_btns.c:108: error: ‘buttons_map’ undeclared (first 
use in this function)
drivers/input/misc/cobalt_btns.c:108: error: (Each undeclared identifier is 
reported only once
drivers/input/misc/cobalt_btns.c:108: error: for each function it appears in.)
drivers/input/misc/cobalt_btns.c:108: warning: type defaults to ‘int’ in 
declaration of ‘type name’
drivers/input/misc/cobalt_btns.c:108: warning: type defaults to ‘int’ in 
declaration of ‘type name’
drivers/input/misc/cobalt_btns.c:108: error: size of array ‘type name’ is 
negative
drivers/input/misc/cobalt_btns.c:109: warning: dereferencing ‘void *’ pointer
drivers/input/misc/cobalt_btns.c:109: error: invalid use of void expression
make[1]: *** [drivers/input/misc/cobalt_btns.o] Error 1
make: *** [drivers/input/misc/cobalt_btns.o] Error 2

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