Re: [PATCH v3 2/3] hwmon: xgene: Add hwmon driver

From: Arnd Bergmann
Date: Wed Sep 07 2016 - 17:43:44 EST


On Thursday, July 21, 2016 1:55:56 PM CEST Hoan Tran wrote:
> + ctx->comm_base_addr = cppc_ss->base_address;
> + if (ctx->comm_base_addr) {
> + ctx->pcc_comm_addr =
> + acpi_os_ioremap(ctx->comm_base_addr,
> + cppc_ss->length);
>

This causes the arm64 allmodconfig build to fail now, according to
kernelci:

1 ERROR: "memblock_is_memory" [drivers/hwmon/xgene-hwmon.ko] undefined!

Should this perhaps call ioremap() or memremap() instead?

Arnd