diff options
author | Li Yang <leoli@freescale.com> | 2008-11-08 12:51:34 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-11-08 13:39:02 -0500 |
commit | 2b48706560cd4811654582a4a194c67a8562d602 (patch) | |
tree | cd551373f8fb308138bcc70e188e69d487f41d17 /arch/powerpc | |
parent | 33d2d78baaed06dda9f4de105388832850fb3555 (diff) |
powerpc: Update QE/CPM2 usb_ctlr structures for USB support
Fixes following build error:
CC drivers/usb/gadget/fsl_qe_udc.o
drivers/usb/gadget/fsl_qe_udc.c: In function 'qe_eprx_stall_change':
drivers/usb/gadget/fsl_qe_udc.c:156: error: 'struct usb_ctlr' has no member named 'usb_usep'
drivers/usb/gadget/fsl_qe_udc.c:163: error: 'struct usb_ctlr' has no member named 'usb_usep'
drivers/usb/gadget/fsl_qe_udc.c: In function 'qe_eptx_stall_change':
drivers/usb/gadget/fsl_qe_udc.c:173: error: 'struct usb_ctlr' has no member named 'usb_usep'
drivers/usb/gadget/fsl_qe_udc.c:180: error: 'struct usb_ctlr' has no member named 'usb_usep'
drivers/usb/gadget/fsl_qe_udc.c: In function 'qe_eprx_nack':
drivers/usb/gadget/fsl_qe_udc.c:201: error: 'struct usb_ctlr' has no member named 'usb_usep'
drivers/usb/gadget/fsl_qe_udc.c:201: error: 'struct usb_ctlr' has no member named 'usb_usep'
drivers/usb/gadget/fsl_qe_udc.c: In function 'qe_eprx_normal':
drivers/usb/gadget/fsl_qe_udc.c:218: error: 'struct usb_ctlr' has no member named 'usb_usep'
drivers/usb/gadget/fsl_qe_udc.c:218: error: 'struct usb_ctlr' has no member named 'usb_usep'
drivers/usb/gadget/fsl_qe_udc.c: In function 'qe_ep_reset':
drivers/usb/gadget/fsl_qe_udc.c:325: error: 'struct usb_ctlr' has no member named 'usb_usep'
drivers/usb/gadget/fsl_qe_udc.c:342: error: 'struct usb_ctlr' has no member named 'usb_usep'
drivers/usb/gadget/fsl_qe_udc.c: In function 'qe_ep_register_init':
drivers/usb/gadget/fsl_qe_udc.c:515: error: 'struct usb_ctlr' has no member named 'usb_usep'
drivers/usb/gadget/fsl_qe_udc.c: In function 'ch9getstatus':
drivers/usb/gadget/fsl_qe_udc.c:1981: error: 'struct usb_ctlr' has no member named 'usb_usep'
make[2]: *** [drivers/usb/gadget/fsl_qe_udc.o] Error 1
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/include/asm/immap_cpm2.h | 9 | ||||
-rw-r--r-- | arch/powerpc/include/asm/immap_qe.h | 5 |
2 files changed, 4 insertions, 10 deletions
diff --git a/arch/powerpc/include/asm/immap_cpm2.h b/arch/powerpc/include/asm/immap_cpm2.h index 4080bab0468c..d4f069bf0e57 100644 --- a/arch/powerpc/include/asm/immap_cpm2.h +++ b/arch/powerpc/include/asm/immap_cpm2.h | |||
@@ -554,14 +554,11 @@ typedef struct usb_ctlr { | |||
554 | u8 usb_usadr; | 554 | u8 usb_usadr; |
555 | u8 usb_uscom; | 555 | u8 usb_uscom; |
556 | u8 res1[1]; | 556 | u8 res1[1]; |
557 | u16 usb_usep1; | 557 | __be16 usb_usep[4]; |
558 | u16 usb_usep2; | ||
559 | u16 usb_usep3; | ||
560 | u16 usb_usep4; | ||
561 | u8 res2[4]; | 558 | u8 res2[4]; |
562 | u16 usb_usber; | 559 | __be16 usb_usber; |
563 | u8 res3[2]; | 560 | u8 res3[2]; |
564 | u16 usb_usbmr; | 561 | __be16 usb_usbmr; |
565 | u8 usb_usbs; | 562 | u8 usb_usbs; |
566 | u8 res4[7]; | 563 | u8 res4[7]; |
567 | } usb_cpm2_t; | 564 | } usb_cpm2_t; |
diff --git a/arch/powerpc/include/asm/immap_qe.h b/arch/powerpc/include/asm/immap_qe.h index 3c2fced3ac22..c346d0bcd230 100644 --- a/arch/powerpc/include/asm/immap_qe.h +++ b/arch/powerpc/include/asm/immap_qe.h | |||
@@ -215,10 +215,7 @@ struct usb_ctlr { | |||
215 | u8 usb_usadr; | 215 | u8 usb_usadr; |
216 | u8 usb_uscom; | 216 | u8 usb_uscom; |
217 | u8 res1[1]; | 217 | u8 res1[1]; |
218 | __be16 usb_usep1; | 218 | __be16 usb_usep[4]; |
219 | __be16 usb_usep2; | ||
220 | __be16 usb_usep3; | ||
221 | __be16 usb_usep4; | ||
222 | u8 res2[4]; | 219 | u8 res2[4]; |
223 | __be16 usb_usber; | 220 | __be16 usb_usber; |
224 | u8 res3[2]; | 221 | u8 res3[2]; |