net: dsa: mv88e6xxx: Be explicit about DT or pdata
authorAndrew Lunn <andrew@lunn.ch>
Wed, 30 May 2018 22:15:42 +0000 (00:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 May 2018 19:54:32 +0000 (15:54 -0400)
commit7bb8c9969d919517fc379cacebd8fa93704173db
treef403a64be17b48f1bb63ea6badaa96c49d3499ae
parente2b3e493784fe07eac385611acbaaf7bff86c496
net: dsa: mv88e6xxx: Be explicit about DT or pdata

Make it explicit that either device tree is used or platform data.  If
neither is available, abort the probe.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: 877b7cb0b6f2 ("net: dsa: mv88e6xxx: Add minimal platform_data support")
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c