linux-mips
[Top] [All Lists]

[MIPS] MEM_SDREFCFG is not defined for Alchemy DB1550 (compile fail)

To: linux-mips@ftp.linux-mips.org, LKML <linux-kernel@vger.kernel.org>
Subject: [MIPS] MEM_SDREFCFG is not defined for Alchemy DB1550 (compile fail)
From: "Alon Bar-Lev" <alon.barlev@gmail.com>
Date: Sun, 23 Dec 2007 17:33:58 +0200
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=X9rNmo/KJE+WXaUbO8kAiZ0SpM045qO0BEym7UezwcA=; b=F4QiUT3CczpjUShjQ6hyWtXUnvjdqRDVGGisQIIS/cuD1f/on0LPn4qM8dgagOOEFCrHlXDkD0jfGM7/Dp2L9F0kZNfYmK2LGeS+GrBppf531pLBGrOuGJzyRWhVE8EpGv8ZImsgIfHWOzmA3XJzyoSN+ltW7FIkQwNMLs5WS7U=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=iyWso7E2Zd91rHU5FEqHyqRTTmNbo37IUbqKKuNkAB7DYrE6itIOhqEQXXCuhcvU5LHKhmhmNEXDFzdVukwTO72fTRahp+HrqNrsdem9pmErqHVvOvpRTNqXYzL2Mg7Fl78tU1suwfIykcdE8wev/S65By+KQ2MLJnw3eBllFbY=
Original-recipient: rfc822;linux-mips@ftp.linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hello,

When I have:
CONFIG_MIPS_DB1550
CONFIG_SOC_AU1550
CONFIG_SOC_AU1X00
CONFIG_PM

MEM_SDREFCFG is used at:
arch/mips/au1000/common/power.c::pm_do_freq()

While the MEM_SDREFCFG constant is declare only for CONFIG_SOC_AU1000,
CONFIG_SOC_AU1500, CONFIG_SOC_AU1100 at:
include/asm-mips/mach-au1x00/au1000.h

Maybe MEM_SDREFCFG should be defined for CONFIG_SOC_AU1X00?
Or there should be #ifdef for its usage in power.c?

Best Regards,
Alon Bar-Lev.

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