Re: [usb:usb-next 89/89] drivers/usb/host/ehci.h:662:3: error: implicit declaration of function 'readl_be'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Alan,

> It's hard to know which headers are needed for foreign architectures.  
> Still, I think this ought to fix the problems you found.  Can you test
> this patch?

Yes, it works. Thanks for the quick fix!

Thanks,
Fengguang

> Index: usb-3.7/drivers/usb/host/ehci-platform.c
> ===================================================================
> --- usb-3.7.orig/drivers/usb/host/ehci-platform.c
> +++ usb-3.7/drivers/usb/host/ehci-platform.c
> @@ -19,12 +19,16 @@
>   * Licensed under the GNU/GPL. See COPYING for details.
>   */
>  #include <linux/kernel.h>
> +#include <linux/hrtimer.h>
>  #include <linux/module.h>
>  #include <linux/platform_device.h>
>  #include <linux/usb.h>
>  #include <linux/usb/hcd.h>
>  #include <linux/usb/ehci_pdriver.h>
>  
> +#include <asm/byteorder.h>
> +#include <asm/io.h>
> +
>  #include "ehci.h"
>  
>  #define DRIVER_DESC "EHCI generic platform driver"
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux