]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
net: dsa: include switchdev.h only once
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Wed, 17 May 2017 19:46:04 +0000 (15:46 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 May 2017 14:40:12 +0000 (10:40 -0400)
commitf0c24ccf491b09de53cee32114c924551218f2bc
tree28d83278d3db8c0566193d1bdd2d48824190901a
parentea5dd34be1cfb2400587a24d1de75e538e77ce74
net: dsa: include switchdev.h only once

DSA drivers and core use switchdev. Include switchdev.h only once, in
the dsa.h public header, so that inclusion in DSA drivers or forward
declarations of switchdev structures in not necessary anymore.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/b53/b53_common.c
drivers/net/dsa/bcm_sf2.c
drivers/net/dsa/dsa_loop.c
drivers/net/dsa/mt7530.c
drivers/net/dsa/mv88e6xxx/chip.c
drivers/net/dsa/qca8k.c
include/net/dsa.h
net/dsa/slave.c