All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix usb interface change in hisax st5481_*
@ 2003-08-09 12:25 Herbert Xu
  2003-08-09 12:39 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Herbert Xu @ 2003-08-09 12:25 UTC (permalink / raw)
  To: Linus Torvalds, Linux Kernel Mailing List

Hi:

This patch makes the HISAX ST5481 driver build again with 2.6.0-test3
where the usb_host_config structure has changed.

Cheers,
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix usb interface change in hisax st5481_*
  2003-08-09 12:25 [PATCH] Fix usb interface change in hisax st5481_* Herbert Xu
@ 2003-08-09 12:39 ` Herbert Xu
  0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2003-08-09 12:39 UTC (permalink / raw)
  To: Linus Torvalds, Linux Kernel Mailing List; +Cc: linux-usb-devel

[-- Attachment #1: Type: text/plain, Size: 431 bytes --]

On Sat, Aug 09, 2003 at 10:25:39PM +1000, herbert wrote:
> 
> This patch makes the HISAX ST5481 driver build again with 2.6.0-test3
> where the usb_host_config structure has changed.

And here is the patch.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

[-- Attachment #2: q --]
[-- Type: text/plain, Size: 2109 bytes --]

Index: kernel-source-2.5/drivers/isdn/hisax/st5481_b.c
===================================================================
RCS file: /home/gondolin/herbert/src/CVS/debian/kernel-source-2.5/drivers/isdn/hisax/st5481_b.c,v
retrieving revision 1.1.1.5
diff -u -r1.1.1.5 st5481_b.c
--- kernel-source-2.5/drivers/isdn/hisax/st5481_b.c	9 Aug 2003 08:11:56 -0000	1.1.1.5
+++ kernel-source-2.5/drivers/isdn/hisax/st5481_b.c	9 Aug 2003 12:20:58 -0000
@@ -254,7 +254,7 @@
 
 	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];
Index: kernel-source-2.5/drivers/isdn/hisax/st5481_d.c
===================================================================
RCS file: /home/gondolin/herbert/src/CVS/debian/kernel-source-2.5/drivers/isdn/hisax/st5481_d.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 st5481_d.c
--- kernel-source-2.5/drivers/isdn/hisax/st5481_d.c	3 Jan 2003 01:36:52 -0000	1.1.1.2
+++ kernel-source-2.5/drivers/isdn/hisax/st5481_d.c	9 Aug 2003 12:20:13 -0000
@@ -658,7 +658,7 @@
 
 	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];
Index: kernel-source-2.5/drivers/isdn/hisax/st5481_usb.c
===================================================================
RCS file: /home/gondolin/herbert/src/CVS/debian/kernel-source-2.5/drivers/isdn/hisax/st5481_usb.c,v
retrieving revision 1.1.1.4
diff -u -r1.1.1.4 st5481_usb.c
--- kernel-source-2.5/drivers/isdn/hisax/st5481_usb.c	11 Jan 2003 04:58:06 -0000	1.1.1.4
+++ kernel-source-2.5/drivers/isdn/hisax/st5481_usb.c	9 Aug 2003 12:19:09 -0000
@@ -258,7 +258,7 @@
 	}
 
 	
-	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 ) {

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-09 12:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-09 12:25 [PATCH] Fix usb interface change in hisax st5481_* Herbert Xu
2003-08-09 12:39 ` Herbert Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.