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>
This commit is contained in:
Li Yang 2008-11-08 20:51:34 +03:00 коммит произвёл Kumar Gala
Родитель 33d2d78baa
Коммит 2b48706560
2 изменённых файлов: 4 добавлений и 10 удалений

Просмотреть файл

@ -554,14 +554,11 @@ typedef struct usb_ctlr {
u8 usb_usadr; u8 usb_usadr;
u8 usb_uscom; u8 usb_uscom;
u8 res1[1]; u8 res1[1];
u16 usb_usep1; __be16 usb_usep[4];
u16 usb_usep2;
u16 usb_usep3;
u16 usb_usep4;
u8 res2[4]; u8 res2[4];
u16 usb_usber; __be16 usb_usber;
u8 res3[2]; u8 res3[2];
u16 usb_usbmr; __be16 usb_usbmr;
u8 usb_usbs; u8 usb_usbs;
u8 res4[7]; u8 res4[7];
} usb_cpm2_t; } usb_cpm2_t;

Просмотреть файл

@ -215,10 +215,7 @@ struct usb_ctlr {
u8 usb_usadr; u8 usb_usadr;
u8 usb_uscom; u8 usb_uscom;
u8 res1[1]; u8 res1[1];
__be16 usb_usep1; __be16 usb_usep[4];
__be16 usb_usep2;
__be16 usb_usep3;
__be16 usb_usep4;
u8 res2[4]; u8 res2[4];
__be16 usb_usber; __be16 usb_usber;
u8 res3[2]; u8 res3[2];