Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1
+1
drivers/regulator/max77802.c
··· 27 27 #include <linux/gpio.h> 28 28 #include <linux/slab.h> 29 29 #include <linux/gpio/consumer.h> 30 + #include <linux/module.h> 30 31 #include <linux/platform_device.h> 31 32 #include <linux/regulator/driver.h> 32 33 #include <linux/regulator/machine.h>