diff options
author | Simon Glass | 2017-05-17 08:23:06 -0600 |
---|---|---|
committer | Tom Rini | 2017-06-05 12:30:55 -0400 |
commit | 6e2941d787819ae1221d7f8295fa67d2ba94a913 (patch) | |
tree | 043792ad38e575a20eab743aacc13b22c94b04f3 /drivers/usb/common | |
parent | 850431590c69e513d5ae295b3bd182c2184ab408 (diff) |
common: freescale: Move arch-specific declarations
The declarations should not be in common.h. Move them to the arch-specific
headers.
Signed-off-by: Simon Glass <sjg@chromium.org>
[trini: Fixup thinko defined(FSL_LSCH3) -> defined(CONFIG_FSL_LSCH3)]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/usb/common')
-rw-r--r-- | drivers/usb/common/fsl-errata.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/common/fsl-errata.c b/drivers/usb/common/fsl-errata.c index 338ac08d8a7..31d80bb6064 100644 --- a/drivers/usb/common/fsl-errata.c +++ b/drivers/usb/common/fsl-errata.c @@ -9,6 +9,9 @@ #include <common.h> #include <fsl_errata.h> #include<fsl_usb.h> +#if defined(CONFIG_FSL_LSCH2) || defined(CONFIG_FSL_LSCH3) +#include <asm/arch/clock.h> +#endif /* USB Erratum Checking code */ #if defined(CONFIG_PPC) || defined(CONFIG_ARM) |