diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-12-09 21:36:42 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-10 16:31:46 +0100 |
commit | 2a0387e8128ae0c3de9ff976bc25afaae3d4a916 (patch) | |
tree | 530bb5ca67bf7d6e74f722fc93a7d5cf01199b5b /drivers/misc/pvpanic.c | |
parent | misc: pvpanic: Combine ACPI and platform drivers (diff) | |
download | linux-2a0387e8128ae0c3de9ff976bc25afaae3d4a916.tar.xz linux-2a0387e8128ae0c3de9ff976bc25afaae3d4a916.zip |
misc: pvpanic: Replace OF headers by mod_devicetable.h
There is no use for OF headers in the driver, but mod_devicetable.h
must be included. Update driver accordingly.
Cc: Peng Hao <peng.hao2@zte.com.cn>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20201209203642.27648-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/pvpanic.c')
-rw-r--r-- | drivers/misc/pvpanic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/pvpanic.c b/drivers/misc/pvpanic.c index fcab2efd0c45..951b37da5e3c 100644 --- a/drivers/misc/pvpanic.c +++ b/drivers/misc/pvpanic.c @@ -11,11 +11,11 @@ #include <linux/io.h> #include <linux/kernel.h> #include <linux/kexec.h> +#include <linux/mod_devicetable.h> #include <linux/module.h> -#include <linux/of.h> -#include <linux/of_address.h> #include <linux/platform_device.h> #include <linux/types.h> + #include <uapi/misc/pvpanic.h> static void __iomem *base; |