public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* sh se7750_defconfig compile error
@ 2008-07-28 21:40 Adrian Bunk
  2008-07-29  5:33 ` Nobuhiro Iwamatsu
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-07-28 21:40 UTC (permalink / raw)
  To: Nobuhiro Iwamatsu, Paul Mundt; +Cc: linux-sh, linux-kernel

Commit ffb91ad2751723bcc9925cd38e37013e2169e256
(sh: Solution Enginge 7710/7712 SH-Ether support)
causes the following compile error with se7750_defconfig:

<--  snip  -->

...
  CC      arch/sh/boards/se/770x/setup.o
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/sh/boards/se/770x/setup.c:134: error: 'PHY_ID' undeclared here (not in a function)
make[2]: *** [arch/sh/boards/se/770x/setup.o] Error 1

<--  snip  -->

The patch did:
#if defined(CONFIG_CPU_SUBTYPE_SH7710)
# define PHY_ID 0x00
#elif defined(CONFIG_CPU_SUBTYPE_SH7712)
# define PHY_ID 0x01
#endif

But in this case we have CONFIG_CPU_SUBTYPE_SH7750.

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-29  5:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-28 21:40 sh se7750_defconfig compile error Adrian Bunk
2008-07-29  5:33 ` Nobuhiro Iwamatsu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox