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

Revert "max8998_charger: Include linux/module.h just once"

This reverts commit 0c7b5558ecc0a508bb7199776afbf18279595539.

linux-next has the following patch:

- - - -
commit 13ae246db4a02971ef4f557af1f6d3e21d64b710
Author: Paul Gortmaker <paul.gortmaker@windriver.com>
Date: Sun Jan 29 15:44:45 2012 -0500

includecheck: delete any duplicate instances of module.h
- - - -

It removes the other instance of include/module.h in this
driver, and so both gets removed. This makes max8998 driver
non-buildable.

Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>

+1
+1
drivers/power/max8998_charger.c
··· 21 21 22 22 #include <linux/module.h> 23 23 #include <linux/err.h> 24 + #include <linux/module.h> 24 25 #include <linux/slab.h> 25 26 #include <linux/platform_device.h> 26 27 #include <linux/power_supply.h>