mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 21:21:41 +00:00
[ARM] pxa/z2: fix missing include in battery driver
Remove redundant includes and add slab.h to fix problem with building. Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
This commit is contained in:
parent
390daa0d8f
commit
56b925fccc
@ -9,19 +9,13 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/init.h>
|
|
||||||
#include <linux/kernel.h>
|
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
#include <linux/platform_device.h>
|
|
||||||
#include <linux/power_supply.h>
|
|
||||||
#include <linux/i2c.h>
|
|
||||||
#include <linux/spinlock.h>
|
|
||||||
#include <linux/interrupt.h>
|
|
||||||
#include <linux/gpio.h>
|
#include <linux/gpio.h>
|
||||||
|
#include <linux/i2c.h>
|
||||||
#include <linux/interrupt.h>
|
#include <linux/interrupt.h>
|
||||||
#include <linux/irq.h>
|
#include <linux/irq.h>
|
||||||
#include <asm/irq.h>
|
#include <linux/power_supply.h>
|
||||||
#include <asm/mach/irq.h>
|
#include <linux/slab.h>
|
||||||
#include <linux/z2_battery.h>
|
#include <linux/z2_battery.h>
|
||||||
|
|
||||||
#define Z2_DEFAULT_NAME "Z2"
|
#define Z2_DEFAULT_NAME "Z2"
|
||||||
|
Loading…
Reference in New Issue
Block a user