summaryrefslogtreecommitdiff
path: root/include/drm/drm_lease.h
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2019-02-26 06:34:03 +0300
committerDavid S. Miller <davem@davemloft.net>2019-02-26 19:49:05 +0300
commitb473b0d23529cde6c825a592c035e9d910b19e21 (patch)
tree9a3fbac499f820e7cb565296f79b5d0207d8d5ae /include/drm/drm_lease.h
parentf4b6bcc7002f0e3a3428bac33cf1945abff95450 (diff)
downloadlinux-b473b0d23529cde6c825a592c035e9d910b19e21.tar.xz
devlink: create a special NDO for getting the devlink instance
Instead of iterating over all devlink ports add a NDO which will return the devlink instance from the driver. v2: add the netdev_to_devlink() helper (Michal) v3: check that devlink has ops (Florian) v4: hold devlink_mutex (Jiri) Suggested-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/drm/drm_lease.h')
0 files changed, 0 insertions, 0 deletions