lkml.org 
[lkml]   [2021]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[irqchip: irq/irqchip-next] staging: octeon-hcd: Directly include linux/of.h
The following commit has been merged into the irq/irqchip-next branch of irqchip:

Commit-ID: aa5f6a89700700fe6fe7e8727581a21a7d679630
Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/aa5f6a89700700fe6fe7e8727581a21a7d679630
Author: Marc Zyngier <maz@kernel.org>
AuthorDate: Thu, 13 Sep 2018 09:31:09 +01:00
Committer: Marc Zyngier <maz@kernel.org>
CommitterDate: Thu, 10 Jun 2021 13:09:15 +01:00

staging: octeon-hcd: Directly include linux/of.h

This drivers currently obtains linux/of.h by luck and a chain of
bizarre inclusions, which we're about to fix.

Let's include the required file directly.

Signed-off-by: Marc Zyngier <maz@kernel.org>
---
drivers/staging/octeon-usb/octeon-hcd.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/staging/octeon-usb/octeon-hcd.c b/drivers/staging/octeon-usb/octeon-hcd.c
index f27f20a..a1cd81d 100644
--- a/drivers/staging/octeon-usb/octeon-hcd.c
+++ b/drivers/staging/octeon-usb/octeon-hcd.c
@@ -50,8 +50,10 @@
#include <linux/module.h>
#include <linux/usb/hcd.h>
#include <linux/prefetch.h>
+#include <linux/irqdomain.h>
#include <linux/dma-mapping.h>
#include <linux/platform_device.h>
+#include <linux/of.h>

#include <asm/octeon/octeon.h>

\
 
 \ /
  Last update: 2021-06-11 15:56    [W:0.017 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site