summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-crystalcove.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2015-05-01 04:47:39 +0300
committerLinus Walleij <linus.walleij@linaro.org>2015-05-12 10:37:42 +0300
commitf1fb9c61b6649987a8c3afe5c4a58563e4e582d7 (patch)
treed9a643a3929bba79f29df70f709d3daedb404ac3 /drivers/gpio/gpio-crystalcove.c
parentc884fbd452147e952ae160e750553d00ea4dc4c9 (diff)
downloadlinux-f1fb9c61b6649987a8c3afe5c4a58563e4e582d7.tar.xz
drivers/gpio: include <module.h> for modular crystalcove code
This file is built off of a tristate Kconfig option and also contains modular function calls so it should explicitly include module.h to avoid compile breakage during header shuffles done in the future. Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Alexandre Courbot <gnurou@gmail.com> Cc: linux-gpio@vger.kernel.org Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-crystalcove.c')
-rw-r--r--drivers/gpio/gpio-crystalcove.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-crystalcove.c b/drivers/gpio/gpio-crystalcove.c
index 91a7ffe83135..cf28ec525e93 100644
--- a/drivers/gpio/gpio-crystalcove.c
+++ b/drivers/gpio/gpio-crystalcove.c
@@ -16,6 +16,7 @@
*/
#include <linux/interrupt.h>
+#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
#include <linux/seq_file.h>