diff options
author | Moshe Shemesh <moshe@nvidia.com> | 2023-02-02 15:47:05 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-02-04 04:25:26 +0100 |
commit | ec4a0ce92e0c4abf833ad2c3b1face0f01432bff (patch) | |
tree | 3d2ea074798bcfff9c12c44930a38c37d0575090 /net/devlink/dev.c | |
parent | devlink: Move devlink dev flash code to dev (diff) | |
download | linux-ec4a0ce92e0c4abf833ad2c3b1face0f01432bff.tar.xz linux-ec4a0ce92e0c4abf833ad2c3b1face0f01432bff.zip |
devlink: Move devlink_info_req struct to be local
As all users of the struct devlink_info_req are already in dev.c, move
this struct from devl_internal.c to be local in dev.c.
Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/devlink/dev.c')
-rw-r--r-- | net/devlink/dev.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/net/devlink/dev.c b/net/devlink/dev.c index 83760e6c8c19..dcf0935462e8 100644 --- a/net/devlink/dev.c +++ b/net/devlink/dev.c @@ -8,6 +8,14 @@ #include <net/sock.h> #include "devl_internal.h" +struct devlink_info_req { + struct sk_buff *msg; + void (*version_cb)(const char *version_name, + enum devlink_info_version_type version_type, + void *version_cb_priv); + void *version_cb_priv; +}; + struct devlink_reload_combination { enum devlink_reload_action action; enum devlink_reload_limit limit; |