[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-video
Subject:    Re: cx88_IR::dev undeclared;
From:       "Michael Fair" <michael () daclubhouse ! net>
Date:       2005-09-04 2:59:37
Message-ID: 002a01c5b0fc$b276bb60$6400a8c0 () maryfair
[Download RAW message or body]

I just checked out CVS this afternoon and ran into the same thing.

I'm not sure the right answer, but after studying it for a little bit I 
think:

ir->dev.dev = &dev->pci->dev;

shold be:
 ir->input.dev = &pci->dev;


After you get passed that you'll hit another problem in ir-kbd-gpio

Line: ir->dev.dev = &dev->pci->dev;

I think should be:
ir->input.dev = &sub->core->pci->dev;

I believe it compiled cleanly after that, I don't know if those are the 
right answers.
They just seemed the correct solution after studying the files for a few 
minutes.

Good Luck,
-- Michael --

----- Original Message ----- 
From: "Marko Mäkelä" <marko.makela@hut.fi>
To: "Michael Krufky" <mike@krufky.com>
Cc: "Linux and Kernel Video" <video4linux-list@redhat.com>
Sent: Saturday, September 03, 2005 12:36 PM
Subject: cx88_IR::dev undeclared;Re: [PATCH] cx88-input.c: observe the RC5 
toggle bit


> Michael,
>
>> 1) make clean
>> 2) make
>> 3) make install
>
> Sorry, my mistake probably was that I ran cvs checkout on top of an old
> snapshot tree from the beginning of this year.  However, the compilation
> failed, and not because of changes I have made:
>
> /usr/src/video4linux/cx88-input.c: In function 'cx88_ir_init':
> /usr/src/video4linux/cx88-input.c:450: error: 'struct cx88_IR' has no 
> member named 'dev'
> /usr/src/video4linux/cx88-input.c:450: error: 'dev' undeclared (first use 
> in this function)
>
> The context is:
>
> ir->dev.dev = &dev->pci->dev;
>
> /* record handles to ourself */
> ir->core = core;
>
> Any idea?
>
> By the way, which kernel are folks using?  I saw some suspicious kernel
> message in 2.6.13 about an unhandled i8042 interrupt #1, and the serial
> driver didn't seem to do the TIOCSBRK ioctl properly.  So I went back
> to 2.6.12.3.
>
> Marko
>
> --
> video4linux-list mailing list
> Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/video4linux-list
> 

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic