diff mbox series

soundwire: bus: Add explicit include for irqdomain.h

Message ID 20230915142900.34498-1-ckeepax@opensource.cirrus.com
State New
Headers show
Series soundwire: bus: Add explicit include for irqdomain.h | expand

Commit Message

Charles Keepax Sept. 15, 2023, 2:29 p.m. UTC
This header should be explicitly included, to make sure it is included
for all Kconfigs.

Fixes: 12a95123bfe1 ("soundwire: bus: Allow SoundWire peripherals to register IRQ handlers")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202309150522.MoKeF4jx-lkp@intel.com/
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
---
 drivers/soundwire/bus.c      | 1 +
 drivers/soundwire/bus_type.c | 1 +
 2 files changed, 2 insertions(+)

Comments

Charles Keepax Sept. 18, 2023, 11:58 a.m. UTC | #1
On Fri, Sep 15, 2023 at 03:29:00PM +0100, Charles Keepax wrote:
> This header should be explicitly included, to make sure it is included
> for all Kconfigs.
> 
> Fixes: 12a95123bfe1 ("soundwire: bus: Allow SoundWire peripherals to register IRQ handlers")
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202309150522.MoKeF4jx-lkp@intel.com/
> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
> ---

This doesn't quite fix the issue let me respin.

Thanks,
Charles
diff mbox series

Patch

diff --git a/drivers/soundwire/bus.c b/drivers/soundwire/bus.c
index 1720031f35a35..5869b71f10923 100644
--- a/drivers/soundwire/bus.c
+++ b/drivers/soundwire/bus.c
@@ -4,6 +4,7 @@ 
 #include <linux/acpi.h>
 #include <linux/delay.h>
 #include <linux/irq.h>
+#include <linux/irqdomain.h>
 #include <linux/mod_devicetable.h>
 #include <linux/pm_runtime.h>
 #include <linux/soundwire/sdw_registers.h>
diff --git a/drivers/soundwire/bus_type.c b/drivers/soundwire/bus_type.c
index fafbc284e82da..dc9c508f48a4b 100644
--- a/drivers/soundwire/bus_type.c
+++ b/drivers/soundwire/bus_type.c
@@ -1,6 +1,7 @@ 
 // SPDX-License-Identifier: GPL-2.0
 // Copyright(c) 2015-17 Intel Corporation.
 
+#include <linux/irqdomain.h>
 #include <linux/module.h>
 #include <linux/mod_devicetable.h>
 #include <linux/pm_domain.h>