Re: [2.6 patch] VIA_VELOCITY must depend on INET

From: Alan Cox
Date: Wed Jul 20 2005 - 06:05:24 EST


On Maw, 2005-07-19 at 15:55 +0200, Adrian Bunk wrote:
> VIA_VELOCITY=y and INET=n results in the following compile error:
>
> <-- snip -->
>
> ...
> LD .tmp_vmlinux1
> drivers/built-in.o: In function `velocity_register_notifier':
> via-velocity.c:(.text+0x3462c6): undefined reference to `register_inetaddr_notifier'
> drivers/built-in.o: In function `velocity_unregister_notifier':
> via-velocity.c:(.text+0x3462d6): undefined reference to `unregister_inetaddr_notifier'
> make: *** [.tmp_vmlinux1] Error 1

Alternatively you could drop those functions when CONFIG_INET is n as
they are only used for wake on arp

-
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/