commit | 469d729f2a701e78d12b936bf0df63b8acae73c9 | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Mon Jun 20 13:14:06 2016 -0400 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 21 03:58:29 2016 -0400 |
tree | 1e120b446b4693b5b2e7240c99e6e97a131b3d86 | |
parent | 9f8b3ee1b5be49f5757fd60c22c921ad3ef58585 [diff] |
net: dsa: mv88e6xxx: add chip allocation helper Add an helper function to allocate the chip structure at the beginning of the probe functions. It will be used to initialize the SMI access. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>