diff options
author | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2008-10-16 10:38:40 -0400 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-10-20 22:36:54 +1100 |
commit | ba515e219edf40fa3a46eade6143d28793db21ee (patch) | |
tree | d0a14c4451236ca7866cda6a4177c991e200dd7b /block/blk.h | |
parent | c3ead7ff2a9e66c37c5d3b75b8fe531e2f871592 (diff) |
ibm_newemac: Fix new MAL feature handling
On Thu, Oct 16, 2008 at 03:56:50PM +1100, Benjamin Herrenschmidt wrote:
>> 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)
>
>That's annoying, I'll have a look.
Support for new features needed by the PPC 405EZ boards
introduced some errors in the MAL and EMAC feature handling.
This broke 'allmodconfig' builds as CONFIG_PPC_DCR_NATIVE is
not set for those.
This patch fixes these errors by wrapping the code in the
appropriate #ifdefs.
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'block/blk.h')
0 files changed, 0 insertions, 0 deletions