summaryrefslogtreecommitdiffstats
path: root/Documentation/rbtree.txt
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2011-12-05 05:01:15 +0000
committerDavid S. Miller <davem@davemloft.net>2011-12-07 13:29:04 -0500
commit43af940c54d712ab5e6d6798a82498b25c2af299 (patch)
treea19f037882fe96e789d3ddfa6e7c8beb8b70dc4d /Documentation/rbtree.txt
parentb835c0f47f725d864bf2545f10c733b754bb6d51 (diff)
downloadblackbird-op-linux-43af940c54d712ab5e6d6798a82498b25c2af299.tar.gz
blackbird-op-linux-43af940c54d712ab5e6d6798a82498b25c2af299.zip
net/fec: fix the use of pdev->id
The pdev->id is used in several places for different purpose. All these uses assume it's always the id of fec device which is >= 0. However this is only true for non-DT case. When DT plays, pdev->id is always -1, which will break these pdev->id users. Instead of fixing all these users one by one, this patch introduces a new member 'dev_id' to 'struct fec_enet_private' for holding the correct fec device id, and replaces all the existing uses of pdev->id with this dev_id. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/rbtree.txt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud