This makes the HISAX ST5481 driver build again with 2.6.0-test3 where
the usb_host_config structure has changed.
DBG(4,"");
- altsetting = &(dev->config->interface[0].altsetting[3]);
+ altsetting = &(dev->config->interface[0]->altsetting[3]);
// Allocate URBs and buffers for the B channel out
endpoint = &altsetting->endpoint[EP_B1_OUT - 1 + bcs->channel * 2];
DBG(2,"");
- altsetting = &(dev->config->interface[0].altsetting[3]);
+ altsetting = &(dev->config->interface[0]->altsetting[3]);
// Allocate URBs and buffers for the D channel out
endpoint = &altsetting->endpoint[EP_D_OUT-1];
}
- altsetting = &(dev->config->interface[0].altsetting[3]);
+ altsetting = &(dev->config->interface[0]->altsetting[3]);
// Check if the config is sane
if ( altsetting->desc.bNumEndpoints != 7 ) {