]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Merge branch 'dsa-phy-include'
authorDavid S. Miller <davem@davemloft.net>
Fri, 10 Feb 2017 18:51:05 +0000 (13:51 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Feb 2017 18:51:05 +0000 (13:51 -0500)
commit1254856c07e0e5707d3291f625db8ed69a866be2
tree40907b346d00bd22b9db7a48702a0541d8ded3bb
parente3f29c4809a5f562adc345c48ed9785f2597df78
parent4d56a29f17508b2eb8bee66b8f0e3679201fa807
Merge branch 'dsa-phy-include'

Florian Fainelli says:

====================
net: dsa: remove unnecessary phy.h include

Including phy.h and phy_fixed.h into net/dsa.h causes phy*.h to be an
unnecessary dependency for quite a large amount of the kernel.  There's
very little which actually requires definitions from phy.h in net/dsa.h
- the include itself only wants the declaration of a couple of
structures and IFNAMSIZ.

Add linux/if.h for IFNAMSIZ, declarations for the structures, phy.h to
mv88e6xxx.h as it needs it for phy_interface_t, and remove both phy.h
and phy_fixed.h from net/dsa.h.

This patch reduces from around 800 files rebuilt to around 40 - even
with ccache, the time difference is noticable.

In order to make this change, several drivers need to be updated to
include necessary headers that they were picking up through this
include.  This has resulted in a much larger patch series.

I'm assuming the 0-day builder has had 24 hours with this series, and
hasn't reported any further issues with it - the last issue was two
weeks ago (before I became ill) which I fixed over the last weekend.

I'm hoping this doesn't conflict with what's already in net-next...

David, this should probably go via your tree considering the diffstat.

Changes in v2:

- took Russell's patch series
- removed Qualcomm EMAC patch
- rebased against net-next/master
====================

Signed-off-by: David S. Miller <davem@davemloft.net>