[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20111201.124119.485939880534098580.davem@davemloft.net>
Date: Thu, 01 Dec 2011 12:41:19 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: axel.lin@...il.com
Cc: linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] dsa: Include linux/if_ether.h to fix build error
From: Axel Lin <axel.lin@...il.com>
Date: Thu, 01 Dec 2011 16:07:18 +0800
> Include linux/if_ether.h to fix below build errors:
>
> CC arch/arm/mach-kirkwood/common.o
> In file included from arch/arm/mach-kirkwood/common.c:19:
> include/net/dsa.h: In function 'dsa_uses_dsa_tags':
> include/net/dsa.h:192: error: 'ETH_P_DSA' undeclared (first use in this function)
> include/net/dsa.h:192: error: (Each undeclared identifier is reported only once
> include/net/dsa.h:192: error: for each function it appears in.)
> include/net/dsa.h: In function 'dsa_uses_trailer_tags':
> include/net/dsa.h:197: error: 'ETH_P_TRAILER' undeclared (first use in this function)
> make[1]: *** [arch/arm/mach-kirkwood/common.o] Error 1
> make: *** [arch/arm/mach-kirkwood] Error 2
>
> Signed-off-by: Axel Lin <axel.lin@...il.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists