drivers/gpio: include <module.h> for modular crystalcove code
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 1 May 2015 01:47:39 +0000 (21:47 -0400)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 12 May 2015 07:37:42 +0000 (09:37 +0200)
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>
drivers/gpio/gpio-crystalcove.c

index 91a7ffe831350adc2afe0a45ab472b937113ce57..cf28ec525e93907150df571234c11d9ac379207d 100644 (file)
@@ -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>