mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
pvpanic: Don't use "proxy" headers
Update header inclusions to follow IWYU (Include What You Use) principle. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://lore.kernel.org/r/20231221144447.2762077-1-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
907f999fc0
commit
7037f7141c
@ -7,16 +7,15 @@
|
||||
* Copyright (C) 2021 Oracle.
|
||||
*/
|
||||
|
||||
#include <linux/device.h>
|
||||
#include <linux/err.h>
|
||||
#include <linux/io.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/ioport.h>
|
||||
#include <linux/kexec.h>
|
||||
#include <linux/mod_devicetable.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/slab.h>
|
||||
|
||||
#include <uapi/misc/pvpanic.h>
|
||||
|
||||
#include "pvpanic.h"
|
||||
|
||||
|
@ -5,13 +5,10 @@
|
||||
* Copyright (C) 2021 Oracle.
|
||||
*/
|
||||
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/errno.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/pci.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/slab.h>
|
||||
|
||||
#include <uapi/misc/pvpanic.h>
|
||||
|
||||
#include "pvpanic.h"
|
||||
|
||||
|
@ -8,16 +8,20 @@
|
||||
*/
|
||||
|
||||
#include <linux/device.h>
|
||||
#include <linux/errno.h>
|
||||
#include <linux/gfp_types.h>
|
||||
#include <linux/io.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/kexec.h>
|
||||
#include <linux/kstrtox.h>
|
||||
#include <linux/limits.h>
|
||||
#include <linux/list.h>
|
||||
#include <linux/mod_devicetable.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/panic_notifier.h>
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/sysfs.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/cdev.h>
|
||||
#include <linux/list.h>
|
||||
|
||||
#include <uapi/misc/pvpanic.h>
|
||||
|
||||
|
@ -8,6 +8,11 @@
|
||||
#ifndef PVPANIC_H_
|
||||
#define PVPANIC_H_
|
||||
|
||||
#include <linux/compiler_types.h>
|
||||
|
||||
struct attribute_group;
|
||||
struct device;
|
||||
|
||||
int devm_pvpanic_probe(struct device *dev, void __iomem *base);
|
||||
extern const struct attribute_group *pvpanic_dev_groups[];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user