mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 23:22:31 +02:00
irqchip: loongson-eiointc: Add explicit include for cpuhotplug.h
Removing the include of cpu.h from of_device.h causes an error: drivers/irqchip/irq-loongson-eiointc.c:420:9: error: implicit declaration of function 'cpuhp_setup_state_nocalls' [-Werror=implicit-function-declaration] This driver doesn't even use DT, so all the DT includes can be dropped. Link: https://lore.kernel.org/r/20230329-dt-cpu-header-cleanups-v1-17-581e2605fe47@kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
parent
24760e43c6
commit
6cd2fb5b1c
|
|
@ -7,16 +7,13 @@
|
|||
|
||||
#define pr_fmt(fmt) "eiointc: " fmt
|
||||
|
||||
#include <linux/cpuhotplug.h>
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/irq.h>
|
||||
#include <linux/irqchip.h>
|
||||
#include <linux/irqdomain.h>
|
||||
#include <linux/irqchip/chained_irq.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/of_address.h>
|
||||
#include <linux/of_irq.h>
|
||||
#include <linux/of_platform.h>
|
||||
#include <linux/syscore_ops.h>
|
||||
|
||||
#define EIOINTC_REG_NODEMAP 0x14a0
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user