]> git.baikalelectronics.ru Git - kernel.git/commit
dsa: Include linux/if_ether.h to fix build error
authorAxel Lin <axel.lin@gmail.com>
Wed, 30 Nov 2011 22:07:18 +0000 (22:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Dec 2011 16:41:06 +0000 (11:41 -0500)
commit75c5b99b729398f38920f3e4664f71579caab03c
treec8e891e261fe9a7477e11c825947feae828f6279
parentb609763d94c438d42df550c16008e6412baa3526
dsa: Include linux/if_ether.h to fix build error

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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h