power: max8997_charger.c needs module.h
PATCH 1/1 power: max8997_charger.c needs module.h
power/max8997_charger.c uses interfaces from linux/module.h, so it should include that file. This fixes build errors.
Signed-off-by Axel Lin <[email protected]>
--- drivers/power/max8997_charger.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/power/max8997_charger.c +1 -0
@@ -20,6 +20,7 @@*/ #include <linux/err.h> +#include <linux/module.h> #include <linux/slab.h> #include <linux/platform_device.h> #include <linux/power_supply.h>
Signature · 1 line
1.7.4.1