Whe I compile gentoo-dev-sources 2.6.5 with LIRC support, this appens: ----------------------------------------------------------------------- drivers/char/lirc/lirc_atiusb.c: In function `usb_remote_probe': drivers/char/lirc/lirc_atiusb.c:374: error: structure has no member named `act_altsetting' make[3]: *** [drivers/char/lirc/lirc_atiusb.o] Error 1 make[2]: *** [drivers/char/lirc] Error 2 make[1]: *** [drivers/char] Error 2 make: *** [drivers] Error 2 ----------------------------------------------------------------------- Reproducible: Always Steps to Reproduce: 1. configure gentoo-dev-sources with full LIRC support 2. save config 3. make Actual Results: gentoo-dev-sources 2.6.5 does not compile The reason of the error is the changes made to the ------------------------------------------------------------------------ struct usb_interface ------------------------------------------------------------------------ in the file ------------------------------------------------------------------------ usb.h ------------------------------------------------------------------------ To solve the problem: change any occurence of ------------------------------------------------------------------------ idesc = &intf->altsetting[intf->act_altsetting]; ------------------------------------------------------------------------ with ------------------------------------------------------------------------ idesc = intf->cur_altsetting; ------------------------------------------------------------------------
The reason of the error is the changes made to the ------------------------------------------------------------------------ struct usb_interface ------------------------------------------------------------------------ in the file ------------------------------------------------------------------------ usb.h ------------------------------------------------------------------------ To solve the problem: change any occurence of ------------------------------------------------------------------------ idesc = &intf->altsetting[intf->act_altsetting]; ------------------------------------------------------------------------ with ------------------------------------------------------------------------ idesc = intf->cur_altsetting; ------------------------------------------------------------------------
Ops. You must be apply the changes I suggested to the incriminated file (/path/to/gentoo-dev-sources/drivers/char/lirc/lirc_atiusb.c) I'm sorry for disattention.