summaryrefslogtreecommitdiff
path: root/drivers/input/evbug.c
diff options
context:
space:
mode:
authorTobias Waldekranz <tobias@waldekranz.com>2023-12-14 16:50:25 +0300
committerDavid S. Miller <davem@davemloft.net>2023-12-15 14:05:02 +0300
commit5780acbd249911fa101c53f3616d0aec5906211e (patch)
tree6d51f51abcf56c18b155ac07acc3013a4dd5d96f /drivers/input/evbug.c
parentfc82a08ae795ee6b73fb6b50785f7be248bec7b5 (diff)
downloadlinux-5780acbd249911fa101c53f3616d0aec5906211e.tar.xz
net: dsa: mv88e6xxx: Give each hw stat an ID
With the upcoming standard counter group support, we are no longer reading out the whole set of counters, but rather mapping a subset to the requested group. Therefore, create an enum with an ID for each stat, such that mv88e6xxx_hw_stats[] can be subscripted with a human-readable ID corresponding to the counter's name. Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/input/evbug.c')
0 files changed, 0 insertions, 0 deletions