linux-mips
[Top] [All Lists]

[PATCH] mips:lantiq:remove the dup include file

To: ralf@linux-mips.org, blogic@openwrt.org
Subject: [PATCH] mips:lantiq:remove the dup include file
From: Wanlong Gao <wanlong.gao@gmail.com>
Date: Sun, 24 Jul 2011 11:59:40 +0800
Cc: linux-mips@linux-mips.org, wanlong.gao@gmail.com, Wanlong Gao <gaowanlong@cn.fujitsu.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; bh=3IGgMguiFwnTr7kzBbDLa0kVxop3W6eaMIUsl4nOTrI=; b=FmwJM7kXrdpKyEPlJNwG7ukinQOCH7I+pXq0gT/OYSJqtZgQ/2FJ06ktjerRUeyu+p vtja4ePvsuN0ltxoFDdruLqy6eDqSF4q+HPrW1emUnSMGJsUdxStIfMt/a5E79YU51F4 fqU0KGFLm8WrMCpRuX+hZGY4IUFeRAQZhyVSE=
Sender: linux-mips-bounce@linux-mips.org
linux/leds.h
linux/reboot.h
had been included twice in devices.c

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
---
 arch/mips/lantiq/devices.c      |    2 --
 arch/mips/lantiq/xway/devices.c |    2 --
 2 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/arch/mips/lantiq/devices.c b/arch/mips/lantiq/devices.c
index 7b82c34..44a3677 100644
--- a/arch/mips/lantiq/devices.c
+++ b/arch/mips/lantiq/devices.c
@@ -15,11 +15,9 @@
 #include <linux/platform_device.h>
 #include <linux/leds.h>
 #include <linux/etherdevice.h>
-#include <linux/reboot.h>
 #include <linux/time.h>
 #include <linux/io.h>
 #include <linux/gpio.h>
-#include <linux/leds.h>
 
 #include <asm/bootinfo.h>
 #include <asm/irq.h>
diff --git a/arch/mips/lantiq/xway/devices.c b/arch/mips/lantiq/xway/devices.c
index e09e789..d0e32ab 100644
--- a/arch/mips/lantiq/xway/devices.c
+++ b/arch/mips/lantiq/xway/devices.c
@@ -16,11 +16,9 @@
 #include <linux/platform_device.h>
 #include <linux/leds.h>
 #include <linux/etherdevice.h>
-#include <linux/reboot.h>
 #include <linux/time.h>
 #include <linux/io.h>
 #include <linux/gpio.h>
-#include <linux/leds.h>
 
 #include <asm/bootinfo.h>
 #include <asm/irq.h>
-- 
1.7.4.1


<Prev in Thread] Current Thread [Next in Thread>