Re: [PATCH] fix WAN routers kconfig dependency

From: David Miller
Date: Sat Dec 09 2006 - 16:59:46 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
Date: Sat, 9 Dec 2006 12:41:08 -0800

> From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
>
> Currently WAN router drivers can be built in-kernel while the
> register/unregister_wan_device interfaces are built as modules.
> This causes:
>
> drivers/built-in.o: In function `cycx_init':
> cycx_main.c:(.init.text+0x5c4b): undefined reference to `register_wan_device'
> drivers/built-in.o: In function `cycx_exit':
> cycx_main.c:(.exit.text+0x560): undefined reference to `unregister_wan_device'
> make: *** [.tmp_vmlinux1] Error 1
>
> The problem is caused by tristate -> bool conversion (y or m => y),
> so convert WAN_ROUTER_DRIVERS to a tristate so that the correct
> dependency is preserved.
>
> Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Applied, thanks Randy.
-
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/