diff options
author | Chen-Yu Tsai <wens@csie.org> | 2014-01-17 14:24:42 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-20 05:02:02 +0100 |
commit | 938dfdaa3c0f92e9a490d324f3bce43bbaef7632 (patch) | |
tree | da3396dd24faaa4898790d3e995bfb7ecb5ea0fb /arch/blackfin | |
parent | net: stmmac: Add support for optional reset control (diff) | |
download | linux-938dfdaa3c0f92e9a490d324f3bce43bbaef7632.tar.xz linux-938dfdaa3c0f92e9a490d324f3bce43bbaef7632.zip |
net: stmmac: Allocate and pass soc/board specific data to callbacks
The current .init and .exit callbacks requires access to driver
private data structures. This is not a good seperation and abstraction.
Instead, we add a new .setup callback for allocating private data, and
pass the returned pointer to the other callbacks.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/blackfin')
0 files changed, 0 insertions, 0 deletions