]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ssb: Drop legacy header include
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 21 Aug 2021 23:58:00 +0000 (01:58 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Sun, 29 Aug 2021 08:32:37 +0000 (11:32 +0300)
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>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210821235800.138817-1-linus.walleij@linaro.org
include/linux/ssb/ssb.h

index 0d5a2691e7e9d6089c05524d91ff61124b010b4d..f9b53acb4e025da0b7f73d88acd1933e0fda0e88 100644 (file)
@@ -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>