]> git.baikalelectronics.ru Git - kernel.git/commit
net: devlink: regions: Add a priv member to the regions ops struct
authorAndrew Lunn <andrew@lunn.ch>
Fri, 18 Sep 2020 19:11:01 +0000 (21:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Sep 2020 01:17:44 +0000 (18:17 -0700)
commit80422fc1de9662857d1a0e3d7f7340b9da1a6650
treeef03a9d60874edcb66724c8156289cac9d6bca99
parent6f031ee30c81d54e223c17c40f1a2df6c3061d15
net: devlink: regions: Add a priv member to the regions ops struct

The driver may have multiple regions which can be dumped using one
function. However, for this to work, additional information is
needed. Add a priv member to the ops structure for the driver to use
however it likes.

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/devlink.h