linux-mips
[Top] [All Lists]

[PATCH] MIPS: lantiq: fixes etop compile error due to missing includes

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH] MIPS: lantiq: fixes etop compile error due to missing includes
From: John Crispin <blogic@openwrt.org>
Date: Thu, 10 Nov 2011 21:33:06 +0100
Cc: John Crispin <blogic@openwrt.org>, linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
The ethernet driver fails to build in 3.1-RC1 due to 2 missing header files.

Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
---
 drivers/net/ethernet/lantiq_etop.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/net/ethernet/lantiq_etop.c 
b/drivers/net/ethernet/lantiq_etop.c
index 6bb2b95..0b3567a 100644
--- a/drivers/net/ethernet/lantiq_etop.c
+++ b/drivers/net/ethernet/lantiq_etop.c
@@ -34,6 +34,8 @@
 #include <linux/init.h>
 #include <linux/delay.h>
 #include <linux/io.h>
+#include <linux/dma-mapping.h>
+#include <linux/module.h>
 
 #include <asm/checksum.h>
 
-- 
1.7.7.1


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