summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-model
diff options
context:
space:
mode:
authorAlexey Charkov <alchark@gmail.com>2014-04-30 22:21:09 +0400
committerDavid S. Miller <davem@davemloft.net>2014-05-02 15:55:42 -0400
commitca8b6e04bc38891cbc0f2c7855bc7d0498dfff9b (patch)
treeadb76e1d823376b2ac445857356c7377004c96b9 /Documentation/driver-model
parentc25aaf814a63f9d9c4e45416f13d70ef0aa0be2e (diff)
downloadop-kernel-dev-ca8b6e04bc38891cbc0f2c7855bc7d0498dfff9b.zip
op-kernel-dev-ca8b6e04bc38891cbc0f2c7855bc7d0498dfff9b.tar.gz
net: via-rhine: Drop revision property, use quirks instead
This adds two new flags to quirks and thus removes the need to carry revision in rhine_private. As a result, the init logic is simplified a bit. This also fixes a compiler warning in OF code on 64bit due to pointer casting: drivers/net/ethernet/via/via-rhine.c: In function ‘rhine_init_one_platform’: drivers/net/ethernet/via/via-rhine.c:1132:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] revision = (u32)match->data; ^ That code was added in commit 2d283862dc62daead9db0dc89cd0d0351e91f765 ("net: via-rhine: add OF bus binding"). Tested in platform configuration on a VIA WM8950 APC Rock board. Reported-by: Jan Moskyto Matejka <mq@suse.cz> Signed-off-by: Alexey Charkov <alchark@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/driver-model')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud