[PATCH] MX27: Add USB platform devices and resources

Alan Carvalho de Assis acassis at gmail.com
Mon Nov 23 12:37:05 EST 2009


Hi Daniel,

On 11/23/09, Daniel Mack <daniel at caiaq.de> wrote:
>
> The patch you refer to only contains the relevant bits for MX31, you
> would need to tweak it a little to make MX27 work as well. I think this
> has been done already by someone, but I can't remember exactly.
>

I am getting this error when compiling your driver:

  LD      drivers/usb/core/usbcore.o
  LD      drivers/usb/core/built-in.o
  CC      drivers/usb/host/ehci-hcd.o
In file included from drivers/usb/host/ehci-hcd.c:1107:
drivers/usb/host/ehci-mxc.c: In function 'ehci_mxc_drv_probe':
drivers/usb/host/ehci-mxc.c:209: error: 'struct otg_transceiver' has
no member named 'io_priv'
drivers/usb/host/ehci-mxc.c:210: error: implicit declaration of
function 'otg_init'
drivers/usb/host/ehci-mxc.c:212: error: implicit declaration of
function 'otg_set_vbus'
drivers/usb/host/ehci-mxc.c: In function 'ehci_mxc_drv_remove':
drivers/usb/host/ehci-mxc.c:258: error: implicit declaration of
function 'otg_shutdown'
make[3]: *** [drivers/usb/host/ehci-hcd.o] Error 1
make[2]: *** [drivers/usb/host] Error 2
make[1]: *** [drivers/usb] Error 2
make: *** [drivers] Error 2

What other patches need I to apply before applying your patch?

Best Regards,

Alan



More information about the linux-arm-kernel mailing list