]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: include dsa.h only once
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Wed, 17 May 2017 19:46:03 +0000 (15:46 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 May 2017 14:40:12 +0000 (10:40 -0400)
commitf3c07aaf5cd591aaa8449798aef63250cc1888a6
tree8b5e53ff930b9aaaf09474b09dd5213252dd1b71
parent93d9a325a3f8c8be06952c047a963e4af6fe3538
net: dsa: include dsa.h only once

The public include/net/dsa.h file is meant for DSA drivers, while all
DSA core files share a common private header net/dsa/dsa_priv.h file.

Ensure that dsa_priv.h is the only DSA core file to include net/dsa.h,
and add a new line to separate absolute and relative headers at the same
time.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
13 files changed:
net/dsa/dsa.c
net/dsa/dsa2.c
net/dsa/dsa_priv.h
net/dsa/legacy.c
net/dsa/slave.c
net/dsa/switch.c
net/dsa/tag_brcm.c
net/dsa/tag_dsa.c
net/dsa/tag_edsa.c
net/dsa/tag_lan9303.c
net/dsa/tag_mtk.c
net/dsa/tag_qca.c
net/dsa/tag_trailer.c