commit | d0b7e990f760ec9a614fbe5f89a5cede4335a7bb | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@nvidia.com> | Wed Sep 13 09:12:32 2023 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Sep 17 14:01:46 2023 +0100 |
tree | 79be0d5641cfc5e51444414afc0aeb388691505e | |
parent | 1e73cfe859523236e6e29167673fc2885f1b99c4 [diff] |
devlink: move linecard struct into linecard.c Instead of exposing linecard struct, expose a simple helper to get the linecard index, which is all is needed outside linecard.c. Move the linecard struct to linecard.c and keep it private similar to the rest of the devlink objects. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>