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)
commite14e05e71d106aef973e2cf100e540d911703a6e
treeef03a9d60874edcb66724c8156289cac9d6bca99
parent0db0561d13df07978bea63a19f644fc16a60f54a
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