Subject: [PATCH] linux-next: Tree for October 16 - build failure at MAL support on powerpc

From: Kamalesh Babulal <[email-masked]>
Date: Fri, 17 Oct 2008 00:53:20 +0530

Hi Stephen,

        next-20081016 kernel build fails on powerpc, with build error

drivers/net/ibm_newemac/mal.c: In function 'mal_txeob':
drivers/net/ibm_newemac/mal.c:284: error: implicit declaration of function 'mtdcri'
drivers/net/ibm_newemac/mal.c:284: error: 'SDR0' undeclared (first use in this function)
drivers/net/ibm_newemac/mal.c:284: error: (Each undeclared identifier is reported only once
drivers/net/ibm_newemac/mal.c:284: error: for each function it appears in.)
drivers/net/ibm_newemac/mal.c:285: error: implicit declaration of function 'mfdcri'
drivers/net/ibm_newemac/mal.c: In function 'mal_rxeob':
drivers/net/ibm_newemac/mal.c:302: error: 'SDR0' undeclared (first use in this function)
make[3]: *** [drivers/net/ibm_newemac/mal.o] Error 1

Signed-off-by: Kamalesh Babulal <[email-masked]>
---
 drivers/net/ibm_newemac/mal.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/ibm_newemac/mal.c b/drivers/net/ibm_newemac/mal.c
index 1839d3f..c5f91a6 100644
--- a/drivers/net/ibm_newemac/mal.c
+++ b/drivers/net/ibm_newemac/mal.c
@@ -29,6 +29,7 @@
 
 #include "core.h"
 #include <asm/dcr-regs.h>
+#include <asm/dcr-native.h>
 
 static int mal_count;
 
-- 
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.