commit | 022066f50f53000679d31eb407693085f37b3f14 | [log] [tgz] |
---|---|---|
author | Chen-Yu Tsai <wens@csie.org> | Fri Jan 17 21:24:46 2014 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Jan 19 20:02:03 2014 -0800 |
tree | 5c3e56178997ada2cb54aa68729881f748e50336 | |
parent | 436f7ecdcc08f71ddc106b7bbe3bcbf1785f3bff [diff] |
net: stmmac: Use driver data and callbacks tied with compatible strings The stmmac driver core allows passing feature flags and callbacks via platform data. Add a similar stmmac_of_data to pass flags and callbacks tied to compatible strings. This allows us to extend stmmac with glue layers for different SoCs. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: David S. Miller <davem@davemloft.net>