drivers/gpio: include <module.h> for modular crystalcove code
authorPaul Gortmaker <[email protected]>
Fri, 1 May 2015 01:47:39 +0000 (21:47 -0400)
committerLinus Walleij <[email protected]>
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 <[email protected]>
Cc: Alexandre Courbot <[email protected]>
Cc: [email protected]
Signed-off-by: Paul Gortmaker <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
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>