Fix general PowerPC build

This commit is contained in:
Sebastian Huber
2017-10-26 15:02:24 +02:00
parent 936b597a57
commit 45149ec24e
6 changed files with 30 additions and 5 deletions

View File

@@ -51,7 +51,6 @@
#include <linux/libfdt_env.h>
#ifdef __rtems__
#include <bsp/fdt.h>
#include <bsp/qoriq.h>
#endif /* __rtems__ */
/* General defines */
@@ -3118,7 +3117,9 @@ fman_dev_probe_fdt(struct fman_softc *sc, int unit)
sc->dn.offset = node;
sc->dn.full_name = name;
sc->of_dev.dev.of_node = &sc->dn;
#if QORIQ_CHIP_IS_T_VARIANT(QORIQ_CHIP_VARIANT)
sc->of_dev.dev.base = (uintptr_t)&qoriq.fman[unit];
#endif
return (BUS_PROBE_DEFAULT);
}
} else {