On Tue, Feb 08, 2005 at 02:42:47PM +0000, Philip Blundell wrote:
> On Mon, 2005-02-07 at 16:36 -0800, Erik Hovland wrote:
> > Does anyone (hint: Philip Blundell) have any advice or status regarding
> > the fingerprint scanner and the buzzer for the 2.6 kernel? I have
> > already asked Jorgen about the fingerprint scanner and I expect to hear
> > from him. But the buzzer seems to be a mystery to me.
>
> The buzzer driver shouldn't need any code changes to work with 2.6. I
> expect you can just copy the source file from the 2.4 tree.
If only that were true:
CC [M] drivers/char/h5400_buzzer.o
drivers/char/h5400_buzzer.c:20:26: linux/buzzer.h: No such file or directory
drivers/char/h5400_buzzer.c: In function `buzz_timer_callback':
drivers/char/h5400_buzzer.c:36: warning: implicit declaration of function `GPCR'
drivers/char/h5400_buzzer.c:36: warning: implicit declaration of function `GPIO_bit'
drivers/char/h5400_buzzer.c:36: error: invalid lvalue in assignment
drivers/char/h5400_buzzer.c:36: warning: implicit declaration of function `GPSR'
drivers/char/h5400_buzzer.c:36: error: invalid lvalue in assignment
drivers/char/h5400_buzzer.c:40: error: invalid lvalue in assignment
drivers/char/h5400_buzzer.c:40: error: invalid lvalue in assignment
drivers/char/h5400_buzzer.c: In function `buzzer_ioctl':
drivers/char/h5400_buzzer.c:49: error: storage size of `bt' isn't known
drivers/char/h5400_buzzer.c:53: error: `IOC_SETBUZZER' undeclared (first use in this function)
drivers/char/h5400_buzzer.c:53: error: (Each undeclared identifier is reported only once
drivers/char/h5400_buzzer.c:53: error: for each function it appears in.)
drivers/char/h5400_buzzer.c:61: error: invalid lvalue in assignment
drivers/char/h5400_buzzer.c:61: error: invalid lvalue in assignment
drivers/char/h5400_buzzer.c:67: error: invalid lvalue in assignment
drivers/char/h5400_buzzer.c:67: error: invalid lvalue in assignment
drivers/char/h5400_buzzer.c:49: warning: unused variable `bt'
drivers/char/h5400_buzzer.c: In function `h5400_buzzer_init':
drivers/char/h5400_buzzer.c:93: warning: implicit declaration of function `machine_is_h5400'
drivers/char/h5400_buzzer.c: In function `h5400_buzzer_exit':
drivers/char/h5400_buzzer.c:107: error: invalid lvalue in assignment
drivers/char/h5400_buzzer.c:107: error: invalid lvalue in assignment
drivers/char/h5400_buzzer.c: At top level:
drivers/char/h5400_buzzer.c:114: warning: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
drivers/char/h5400_buzzer.c:114: warning: data definition has no type or storage class
make[2]: *** [drivers/char/h5400_buzzer.o] Error 1
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2
But this looks a lot like the sort of fixes I put into the ak4535
driver. So I will take a stab when I get a chance.
Thanks
E
-- Erik Hovland mail: erik AT hovland DOT org web: http://hovland.org/ PGP/GPG public key available on requestReceived on Tue Feb 08 2005 - 14:15:44 EST
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:20:11 EDT