Re: [PATCH V7 5/9] misc/pvpanic: add support to get pvpanic device info by FDT

From: Andy Shevchenko
Date: Mon Nov 05 2018 - 07:58:28 EST


On Mon, Nov 5, 2018 at 4:31 AM Peng Hao <peng.hao2@xxxxxxxxxx> wrote:
>
> By default, when ACPI tables and FDT coexist for ARM64,
> current kernel takes precedence over FDT to get device information.
> Virt machine in qemu provides both FDT and ACPI table. Increases the
> way to get information through FDT.

> +#include <linux/acpi.h>
> +#include <linux/init.h>
> #include <linux/kernel.h>
> #include <linux/module.h>
> -#include <linux/init.h>
> +#include <linux/of.h>
> +#include <linux/of_address.h>
> +#include <linux/platform_device.h>
> #include <linux/types.h>
> -#include <linux/acpi.h>

Adding new headers in this change is okay, while shuffling them is
logically a separate change.

--
With Best Regards,
Andy Shevchenko