From: Marek Vasut Date: Sat, 23 Feb 2013 02:43:01 +0000 (+0000) Subject: mxs: Squash the header file usage in ehci-mxs X-Git-Tag: v2013.04-rc2~24^2~1^2~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=47f13315061b4f931a9263924627b870ec083578;p=u-boot mxs: Squash the header file usage in ehci-mxs The ehci-mxs driver included the register definitions directly. Use imx-regs.h instead since it contains proper handling of the differences between mx23 and mx28. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Otavio Salvador Cc: Stefano Babic Acked-by: Otavio Salvador --- diff --git a/arch/arm/include/asm/arch-mxs/imx-regs.h b/arch/arm/include/asm/arch-mxs/imx-regs.h index 05eb63c6d2..8f67497760 100644 --- a/arch/arm/include/asm/arch-mxs/imx-regs.h +++ b/arch/arm/include/asm/arch-mxs/imx-regs.h @@ -36,6 +36,8 @@ #include #include #include +#include +#include #ifdef CONFIG_MX23 #include diff --git a/drivers/usb/host/ehci-mxs.c b/drivers/usb/host/ehci-mxs.c index 5062af5559..0ca7545a34 100644 --- a/drivers/usb/host/ehci-mxs.c +++ b/drivers/usb/host/ehci-mxs.c @@ -21,11 +21,7 @@ #include #include -#include -#include -#include -#include -#include +#include #include "ehci.h"