diff options
Diffstat (limited to 'drivers/of')
-rw-r--r-- | drivers/of/Kconfig | 2 | ||||
-rw-r--r-- | drivers/of/platform.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig index 45f77a759f..2b28cf3fb4 100644 --- a/drivers/of/Kconfig +++ b/drivers/of/Kconfig @@ -4,7 +4,7 @@ config OFTREE config OFTREE_MEM_GENERIC depends on OFTREE - depends on PPC || ARM + depends on PPC || ARM || ARCH_EFI def_bool y config DTC diff --git a/drivers/of/platform.c b/drivers/of/platform.c index 72e75cc079..c417cfdcd9 100644 --- a/drivers/of/platform.c +++ b/drivers/of/platform.c @@ -183,7 +183,8 @@ static struct device_d *of_platform_device_create(struct device_node *np, dev->num_resources = num_reg; of_device_make_bus_id(dev); - debug("%s: register device %s, io=0x%08x\n", __func__, dev_name(dev), + debug("%s: register device %s, io=" PRINTF_CONVERSION_RESOURCE "\n", + __func__, dev_name(dev), (num_reg) ? dev->resource[0].start : (-1)); ret = platform_device_register(dev); |