Re: [PATCH net-next 0/3] net: dsa: headers cleanup

2017-05-18 Thread David Miller
From: Vivien Didelot Date: Wed, 17 May 2017 15:46:02 -0400 > The DSA core files share a common private header file. Include the DSA > public header there instead of independently in each core source file. > > DSA core and its drivers use switchdev, thus

Re: [PATCH net-next 0/3] net: dsa: headers cleanup

2017-05-18 Thread David Miller
From: Vivien Didelot Date: Wed, 17 May 2017 15:46:02 -0400 > The DSA core files share a common private header file. Include the DSA > public header there instead of independently in each core source file. > > DSA core and its drivers use switchdev, thus include switchdev.h in the > public DSA

[PATCH net-next 0/3] net: dsa: headers cleanup

2017-05-17 Thread Vivien Didelot
The DSA core files share a common private header file. Include the DSA public header there instead of independently in each core source file. DSA core and its drivers use switchdev, thus include switchdev.h in the public DSA header. This allows us to get rid of the forward declaration and use

[PATCH net-next 0/3] net: dsa: headers cleanup

2017-05-17 Thread Vivien Didelot
The DSA core files share a common private header file. Include the DSA public header there instead of independently in each core source file. DSA core and its drivers use switchdev, thus include switchdev.h in the public DSA header. This allows us to get rid of the forward declaration and use