[NET]: Add __dev_getfirstbyhwtype
authorPatrick McHardy <kaber@trash.net>
Thu, 3 May 2007 10:28:13 +0000 (03:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 May 2007 10:28:13 +0000 (03:28 -0700)
commit4e9cac2ba437fcb093c7417b1cd91a77ebd1756a
treebbcf898f720eb19d9d6fbc196902ec93d0748f84
parent5b35fad9d4fc2fcaf5c23887c1de1bc3eb28ab8c
[NET]: Add __dev_getfirstbyhwtype

Add __dev_getfirstbyhwtype for callers that don't want a reference but
some data from the device and thus need to take the rtnl anyway.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c