summaryrefslogtreecommitdiffstats
path: root/net/devlink/devl_internal.h
diff options
context:
space:
mode:
authorMoshe Shemesh <moshe@nvidia.com>2023-02-02 16:47:04 +0200
committerJakub Kicinski <kuba@kernel.org>2023-02-03 19:25:26 -0800
commita13aab66cbe02daaed3dde3a6d296ad0a5fab543 (patch)
treef7722da766470b438676363d97018d9df6956deb /net/devlink/devl_internal.h
parentd60191c46ec9379453c674fcaa40531e2c0b2ba4 (diff)
downloadlinux-stable-a13aab66cbe02daaed3dde3a6d296ad0a5fab543.tar.gz
linux-stable-a13aab66cbe02daaed3dde3a6d296ad0a5fab543.tar.bz2
linux-stable-a13aab66cbe02daaed3dde3a6d296ad0a5fab543.zip
devlink: Move devlink dev flash code to dev
Move devlink dev flash callbacks, helpers and other related code from leftover.c to dev.c. No functional change in this patch. 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/devl_internal.h')
-rw-r--r--net/devlink/devl_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/devlink/devl_internal.h b/net/devlink/devl_internal.h
index a0f4cd51603e..5fbd757b2f56 100644
--- a/net/devlink/devl_internal.h
+++ b/net/devlink/devl_internal.h
@@ -224,3 +224,4 @@ int devlink_nl_cmd_reload(struct sk_buff *skb, struct genl_info *info);
int devlink_nl_cmd_eswitch_get_doit(struct sk_buff *skb, struct genl_info *info);
int devlink_nl_cmd_eswitch_set_doit(struct sk_buff *skb, struct genl_info *info);
int devlink_nl_cmd_info_get_doit(struct sk_buff *skb, struct genl_info *info);
+int devlink_nl_cmd_flash_update(struct sk_buff *skb, struct genl_info *info);