[U-Boot] [PATCH 02/11] usb: dwc3: linux-compat: Fix: Adding missing include files
Kishon Vijay Abraham I
kishon at ti.com
Mon Feb 23 15:12:25 CET 2015
Hi,
On Monday 23 February 2015 07:32 PM, Lukasz Majewski wrote:
> Added #includes are necessary to allow dwc3 to compile and run on u-boot
> for Odroid XU3.
I think you should also add the files for Odroid XU3.
>
> Signed-off-by: Lukasz Majewski <l.majewski at samsung.com>
> ---
> drivers/usb/dwc3/linux-compat.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/usb/dwc3/linux-compat.h b/drivers/usb/dwc3/linux-compat.h
> index b36f68f..40470aa 100644
> --- a/drivers/usb/dwc3/linux-compat.h
> +++ b/drivers/usb/dwc3/linux-compat.h
> @@ -12,6 +12,9 @@
> #ifndef __DWC3_LINUX_COMPAT__
> #define __DWC3_LINUX_COMPAT__
>
> +#include <common.h>
> +#include <linux/compat.h>
These are not needed for dwc3 core driver. So I'd assume it is required only
for Odroid XU3 file? For other files it is redundant.
Thanks
Kishon
More information about the U-Boot
mailing list