Re: sh se7750_defconfig compile error

From: Nobuhiro Iwamatsu
Date: Tue Jul 29 2008 - 01:56:51 EST


Hi, Adrian.

Thank you for your check and report.

I will fix this soon.

Best regards,
Nobuhiro

Adrian Bunk wrote:
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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/