summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2015-05-01 20:02:31 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2015-06-16 14:12:26 -0400
commitca1c8e93c37e5a5e27e6149cd3612eb2247e0e4a (patch)
tree14889979d908d6e3747b00996631d1810098166a
parent5468f887bc861b2fe2fa24a44bc6a616a5d33a73 (diff)
downloadtalos-obmc-linux-ca1c8e93c37e5a5e27e6149cd3612eb2247e0e4a.tar.gz
talos-obmc-linux-ca1c8e93c37e5a5e27e6149cd3612eb2247e0e4a.zip
drivers/regulator: include <module.h> for modular max77802 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: Liam Girdwood <lgirdwood@gmail.com> Cc: Mark Brown <broonie@kernel.org> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
-rw-r--r--drivers/regulator/max77802.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/max77802.c b/drivers/regulator/max77802.c
index 6af41abccacb..c07ee13bd470 100644
--- a/drivers/regulator/max77802.c
+++ b/drivers/regulator/max77802.c
@@ -27,6 +27,7 @@
#include <linux/gpio.h>
#include <linux/slab.h>
#include <linux/gpio/consumer.h>
+#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/regulator/driver.h>
#include <linux/regulator/machine.h>
OpenPOWER on IntegriCloud