Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1202298

[PATCH] irqchip: gic-v3: Explicitly include linux/io.h

From Ben Zhang <benzh@chromium.org>
Newsgroups linux.kernel
Subject [PATCH] irqchip: gic-v3: Explicitly include linux/io.h
Date 2015-08-07 07:40 +0200
Message-ID <pUIxP-6MV-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


linux/io.h is needed because the driver uses:
readl_relaxed
writel_relaxed
writeq_relaxed
readq_relaxed
iounmap

The header was implicitly included by an unrelated
commit 332fd7c4fef5
("genirq: Generic chip: Change irq_reg_{readl,writel} arguments")
from the path below:
include/linux/io.h
include/linux/irq.h
include/linux/of_irq.h
drivers/irqchip/irq-gic-v3.c

Signed-off-by: Ben Zhang <benzh@chromium.org>
---
 drivers/irqchip/irq-gic-v3.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/irqchip/irq-gic-v3.c b/drivers/irqchip/irq-gic-v3.c
index e406bc5..3350b8d 100644
--- a/drivers/irqchip/irq-gic-v3.c
+++ b/drivers/irqchip/irq-gic-v3.c
@@ -19,6 +19,7 @@
 #include <linux/cpu_pm.h>
 #include <linux/delay.h>
 #include <linux/interrupt.h>
+#include <linux/io.h>
 #include <linux/of.h>
 #include <linux/of_address.h>
 #include <linux/of_irq.h>
-- 
2.5.0.rc2.392.g76e840b

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] irqchip: gic-v3: Explicitly include linux/io.h Ben Zhang <benzh@chromium.org> - 2015-08-07 07:40 +0200
  Re: [PATCH] irqchip: gic-v3: Explicitly include linux/io.h Marc Zyngier <marc.zyngier@arm.com> - 2015-08-07 10:50 +0200
    Re: [PATCH] irqchip: gic-v3: Explicitly include linux/io.h Ben Zhang <benzh@chromium.org> - 2015-08-08 01:40 +0200

csiph-web