diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2015-05-02 02:02:30 +0200 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2015-06-16 20:12:25 +0200 |
commit | ade52af9e13a584aa4c54bb3fce71b2bad5b0a35 (patch) | |
tree | 95329320f9c281acdfe0f7bf70d675947135dcb0 /drivers | |
parent | drivers/clk: include <module.h> for clk-max77xxx modular code (diff) | |
download | linux-ade52af9e13a584aa4c54bb3fce71b2bad5b0a35.tar.xz linux-ade52af9e13a584aa4c54bb3fce71b2bad5b0a35.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpio/gpio-crystalcove.c | 1 |
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> |