* [PATCH] pxa/z2: Fix includes in battery driver
@ 2010-06-03 1:44 Marek Vasut
2010-06-11 14:06 ` Eric Miao
0 siblings, 1 reply; 2+ messages in thread
From: Marek Vasut @ 2010-06-03 1:44 UTC (permalink / raw)
To: linux-arm-kernel
Remove redundant includes and add slab.h to fix problem with building.
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
---
drivers/power/z2_battery.c | 12 +++---------
1 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/drivers/power/z2_battery.c b/drivers/power/z2_battery.c
index 9cca465..85064a9 100644
--- a/drivers/power/z2_battery.c
+++ b/drivers/power/z2_battery.c
@@ -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"
--
1.7.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] pxa/z2: Fix includes in battery driver
2010-06-03 1:44 [PATCH] pxa/z2: Fix includes in battery driver Marek Vasut
@ 2010-06-11 14:06 ` Eric Miao
0 siblings, 0 replies; 2+ messages in thread
From: Eric Miao @ 2010-06-11 14:06 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Jun 3, 2010 at 9:44 AM, Marek Vasut <marek.vasut@gmail.com> wrote:
> Remove redundant includes and add slab.h to fix problem with building.
>
> Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Applied to 'fix'.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-11 14:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-03 1:44 [PATCH] pxa/z2: Fix includes in battery driver Marek Vasut
2010-06-11 14:06 ` Eric Miao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).