mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 21:21:37 +00:00
omap_hsmmc.c: Fix build warning on non-omap3
It was incorrect to always include "asm/arch-omap3/mux.h" constantly.
This introduced warnings on non-omap3 where certain values will conflict
between the various families. Conditionally guard the inclusion in
order to correct the problem.
Fixes: 6aca17c9b7
("drivers: mmc: omap_hsmmc: Fix IO Buffer on OMAP36xx")
Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
e1a71f8b33
commit
2a48b3a2c4
1 changed files with 3 additions and 1 deletions
|
@ -37,8 +37,10 @@
|
|||
#include <asm/gpio.h>
|
||||
#include <asm/arch/sys_proto.h>
|
||||
#endif
|
||||
#ifdef CONFIG_MMC_OMAP36XX_PINS
|
||||
#include <asm/arch/mux.h>
|
||||
#endif
|
||||
#include <dm.h>
|
||||
#include <asm/arch-omap3/mux.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue