mbox series

[net-next,0/3] net: dsa: Split platform data to header file

Message ID 20190115230613.28334-1-f.fainelli@gmail.com
Headers show
Series net: dsa: Split platform data to header file | expand

Message

Florian Fainelli Jan. 15, 2019, 11:06 p.m. UTC
Hi all,

This patch series decouples the DSA platform data structures from
net/dsa.h which was getting used for all sorts of DSA related
structures.

It would probably make sense for this series to go via David's net-next
tree to avoid conflicts on the ARM part, since we cannot obviously
include a header that does not yet exist.

No functional changes intended.

Florian Fainelli (3):
  net: dsa: Split platform data to header file
  ARM: orion5x: Include platform_data/dsa.h
  net: dsa: Include platform_data header file

 MAINTAINERS                                  |  1 +
 arch/arm/mach-orion5x/common.c               |  2 +-
 arch/arm/mach-orion5x/rd88f5181l-fxo-setup.c |  2 +-
 arch/arm/mach-orion5x/rd88f5181l-ge-setup.c  |  2 +-
 arch/arm/mach-orion5x/rd88f6183ap-ge-setup.c |  2 +-
 arch/arm/mach-orion5x/wnr854t-setup.c        |  2 +-
 arch/arm/mach-orion5x/wrt350n-v2-setup.c     |  2 +-
 arch/arm/plat-orion/common.c                 |  2 +-
 include/linux/platform_data/b53.h            |  2 +-
 include/linux/platform_data/dsa.h            | 68 ++++++++++++++++++++
 include/linux/platform_data/mv88e6xxx.h      |  2 +-
 include/net/dsa.h                            | 61 +-----------------
 12 files changed, 79 insertions(+), 69 deletions(-)
 create mode 100644 include/linux/platform_data/dsa.h

Comments

Arnd Bergmann Jan. 16, 2019, 10:23 a.m. UTC | #1
On Wed, Jan 16, 2019 at 12:06 AM Florian Fainelli <f.fainelli@gmail.com> wrote:
>
> Hi all,
>
> This patch series decouples the DSA platform data structures from
> net/dsa.h which was getting used for all sorts of DSA related
> structures.

Nice cleanup!

> It would probably make sense for this series to go via David's net-next
> tree to avoid conflicts on the ARM part, since we cannot obviously
> include a header that does not yet exist.

Agreed,

Acked-by: Arnd Bergmann <arnd@arndb.de>
Andrew Lunn Jan. 17, 2019, 1:16 a.m. UTC | #2
On Tue, Jan 15, 2019 at 03:06:10PM -0800, Florian Fainelli wrote:
> Hi all,
> 
> This patch series decouples the DSA platform data structures from
> net/dsa.h which was getting used for all sorts of DSA related
> structures.
> 
> It would probably make sense for this series to go via David's net-next
> tree to avoid conflicts on the ARM part, since we cannot obviously
> include a header that does not yet exist.
> 
> No functional changes intended.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
David Miller Jan. 17, 2019, 7:32 p.m. UTC | #3
From: Florian Fainelli <f.fainelli@gmail.com>
Date: Tue, 15 Jan 2019 15:06:10 -0800

> This patch series decouples the DSA platform data structures from
> net/dsa.h which was getting used for all sorts of DSA related
> structures.
> 
> It would probably make sense for this series to go via David's net-next
> tree to avoid conflicts on the ARM part, since we cannot obviously
> include a header that does not yet exist.
> 
> No functional changes intended.

Series applied, thanks Florian.