diff options
Diffstat (limited to 'arch/powerpc/platforms/celleb/iommu.c')
-rw-r--r-- | arch/powerpc/platforms/celleb/iommu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/celleb/iommu.c b/arch/powerpc/platforms/celleb/iommu.c index 61df97f4e1a6..fbe718d517a6 100644 --- a/arch/powerpc/platforms/celleb/iommu.c +++ b/arch/powerpc/platforms/celleb/iommu.c @@ -24,7 +24,7 @@ #include <linux/pci.h> #include <linux/of_platform.h> -#include <asm/firmware.h> +#include <asm/machdep.h> #include "beat_wrapper.h" @@ -92,7 +92,7 @@ static struct notifier_block celleb_of_bus_notifier = { static int __init celleb_init_iommu(void) { - if (!firmware_has_feature(FW_FEATURE_BEAT)) + if (!machine_is(celleb_beat)) return -ENODEV; celleb_init_direct_mapping(); |