diff mbox series

ssb: Drop legacy header include

Message ID 20210821235800.138817-1-linus.walleij@linaro.org
State New
Headers show
Series ssb: Drop legacy header include | expand

Commit Message

Linus Walleij Aug. 21, 2021, 11:58 p.m. UTC
The SSB header only uses the legacy <linux/gpio.h> header to get
struct gpio_chip so inluce <linux/gpio/driver.h> which is the right
include to deal with gpio_chip.

Cc: Michael Buesch <m@bues.ch>
Cc: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
 include/linux/ssb/ssb.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.31.1

Comments

Kalle Valo Aug. 29, 2021, 8:32 a.m. UTC | #1
Linus Walleij <linus.walleij@linaro.org> wrote:

> The SSB header only uses the legacy <linux/gpio.h> header to get

> struct gpio_chip so inluce <linux/gpio/driver.h> which is the right

> include to deal with gpio_chip.

> 

> Cc: Michael Buesch <m@bues.ch>

> Cc: Kalle Valo <kvalo@codeaurora.org>

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>


Patch applied to wireless-drivers-next.git, thanks.

81f9ebd43659 ssb: Drop legacy header include

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20210821235800.138817-1-linus.walleij@linaro.org/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
diff mbox series

Patch

diff --git a/include/linux/ssb/ssb.h b/include/linux/ssb/ssb.h
index 0d5a2691e7e9..f9b53acb4e02 100644
--- a/include/linux/ssb/ssb.h
+++ b/include/linux/ssb/ssb.h
@@ -7,7 +7,7 @@ 
 #include <linux/types.h>
 #include <linux/spinlock.h>
 #include <linux/pci.h>
-#include <linux/gpio.h>
+#include <linux/gpio/driver.h>
 #include <linux/mod_devicetable.h>
 #include <linux/dma-mapping.h>
 #include <linux/platform_device.h>