diff mbox series

ARM: scoop: Use the right include

Message ID 20190820103429.7028-1-linus.walleij@linaro.org (mailing list archive)
State Mainlined, archived
Commit f73d137d562f4c8bf225083c96bc7a91354f06cc
Headers show
Series ARM: scoop: Use the right include | expand

Commit Message

Linus Walleij Aug. 20, 2019, 10:34 a.m. UTC
This is a GPIO driver so it should include
<linux/gpio/driver.h> not <linux/gpio.h>

Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
ARM SoC folks: please apply this directly for v5.4 if
OK.
---
 arch/arm/common/scoop.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

patchwork-bot+linux-soc@kernel.org Sept. 3, 2019, 9:42 p.m. UTC | #1
Hello:

The following patches were marked "accepted", because they were applied to
soc/soc.git (refs/heads/for-next):

Patch: ARM: scoop: Use the right include
  Submitter: Linus Walleij <linus.walleij@linaro.org>
  Patchwork: https://patchwork.kernel.org/project/linux-soc/list/?series=162321

Total patches: 1
patchwork-bot+linux-soc@kernel.org Sept. 3, 2019, 9:42 p.m. UTC | #2
Hello:

This patch was applied to soc/soc.git (refs/heads/for-next).

On Tue, 20 Aug 2019 12:34:29 +0200 you wrote:
> This is a GPIO driver so it should include
> <linux/gpio/driver.h> not <linux/gpio.h>
> 
> Cc: Richard Purdie <rpurdie@rpsys.net>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> ARM SoC folks: please apply this directly for v5.4 if
> OK.
> 
> [...]


Here is a summary with links:
  - ARM: scoop: Use the right include
    https://git.kernel.org/soc/soc/c/f73d137d562f4c8bf225083c96bc7a91354f06cc

You are awesome, thank you!
diff mbox series

Patch

diff --git a/arch/arm/common/scoop.c b/arch/arm/common/scoop.c
index 60130bd7b182..6edb961bd6c1 100644
--- a/arch/arm/common/scoop.c
+++ b/arch/arm/common/scoop.c
@@ -8,7 +8,7 @@ 
  */
 
 #include <linux/device.h>
-#include <linux/gpio.h>
+#include <linux/gpio/driver.h>
 #include <linux/string.h>
 #include <linux/slab.h>
 #include <linux/platform_device.h>