Skip to content

Commit

Permalink
[ARM] pxa/z2: fix missing include in battery driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marek Vasut authored and Eric Miao committed Jun 13, 2010
1 parent 390daa0 commit 56b925f
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions drivers/power/z2_battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,13 @@
*
*/

#include <linux/init.h>
#include <linux/kernel.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/i2c.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <asm/irq.h>
#include <asm/mach/irq.h>
#include <linux/power_supply.h>
#include <linux/slab.h>
#include <linux/z2_battery.h>

#define Z2_DEFAULT_NAME "Z2"
Expand Down

0 comments on commit 56b925f

Please sign in to comment.