Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: sm501: Include the GPIO driver header

This driver creates a gpio chip so it needs to include the
appropriate header <linux/gpio/driver.h> explicitly rather
than implicitly.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Linus Walleij and committed by
Lee Jones
f68c0a87 c5b90cb2

+1
+1
drivers/mfd/sm501.c
··· 17 17 #include <linux/platform_device.h> 18 18 #include <linux/pci.h> 19 19 #include <linux/platform_data/i2c-gpio.h> 20 + #include <linux/gpio/driver.h> 20 21 #include <linux/gpio/machine.h> 21 22 #include <linux/slab.h> 22 23