[PATCH 2.6.10-mm2] mips: fixed build error about NEC VR4100 series

From: Yoichi Yuasa
Date: Thu Jan 06 2005 - 10:10:18 EST


This patch had fixed build error about NEC VR4100 series.

* add #include <linux/kernel.h> for printk()

This patch had already applied to Ralf's cvs tree.

Yoichi

Signed-off-by: Yoichi Yuasa <yuasa@xxxxxxxxxxxxxx>

diff -urN -X dontdiff b-orig/arch/mips/vr41xx/common/bcu.c b/arch/mips/vr41xx/common/bcu.c
--- b-orig/arch/mips/vr41xx/common/bcu.c Sat Dec 25 06:35:27 2004
+++ b/arch/mips/vr41xx/common/bcu.c Thu Jan 6 23:03:22 2005
@@ -30,6 +30,7 @@
*/
#include <linux/init.h>
#include <linux/ioport.h>
+#include <linux/kernel.h>
#include <linux/smp.h>
#include <linux/types.h>

diff -urN -X dontdiff b-orig/arch/mips/vr41xx/common/pmu.c b/arch/mips/vr41xx/common/pmu.c
--- b-orig/arch/mips/vr41xx/common/pmu.c Sat Dec 25 06:35:23 2004
+++ b/arch/mips/vr41xx/common/pmu.c Thu Jan 6 23:03:38 2005
@@ -18,6 +18,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <linux/init.h>
+#include <linux/kernel.h>
#include <linux/smp.h>
#include <linux/types.h>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/