linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ssb: Drop legacy header include
@ 2021-08-21 23:58 Linus Walleij
  2021-08-29  8:32 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Linus Walleij @ 2021-08-21 23:58 UTC (permalink / raw)
  To: Michael Buesch, Kalle Valo; +Cc: linux-wireless, Linus Walleij

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(-)

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>
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ssb: Drop legacy header include
  2021-08-21 23:58 [PATCH] ssb: Drop legacy header include Linus Walleij
@ 2021-08-29  8:32 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2021-08-29  8:32 UTC (permalink / raw)
  To: Linus Walleij; +Cc: Michael Buesch, linux-wireless, Linus Walleij

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-29  8:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-21 23:58 [PATCH] ssb: Drop legacy header include Linus Walleij
2021-08-29  8:32 ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).