linux-mips
[Top] [All Lists]

mips SMBUS_PSC_BASE compile errors

To: Manuel Lauss <mano@roarinelk.homelinux.net>, Jean Delvare <khali@linux-fr.org>, ralf@linux-mips.org
Subject: mips SMBUS_PSC_BASE compile errors
From: Adrian Bunk <bunk@kernel.org>
Date: Sun, 17 Feb 2008 22:09:53 +0200
Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.17+20080114 (2008-01-14)
Commit 8b798c4d16b762d15f4055597ff8d87f73b35552 causes compile errors 
like the following for several system types:

<--  snip  -->

...
  CC      arch/mips/au1000/common/platform.o
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/au1000/common/platform.c:277:
 error: 'PSC0_BASE_ADDR' undeclared here (not in a function)
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/mips/au1000/common/platform.c:314:
 warning: no previous prototype for 'au1xxx_platform_init'
make[2]: *** [arch/mips/au1000/common/platform.o] Error 1

<--  snip  -->

One or more #include <asm/mach-au1x00/au1xxx_psc.h>'s at the right 
places seem to be the correct solution, but I don't understand the mips 
subarch setup good enough for knowing where to place them.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


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