summaryrefslogtreecommitdiff
path: root/include/linux/pse-pd
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-10-03 21:03:27 -0700
committerJakub Kicinski <kuba@kernel.org>2022-10-03 21:52:33 -0700
commit681bf011b9b5989c6e9db6beb64494918aab9a43 (patch)
tree80200bf55920c31fc0d7b54c6bc85a3f5fabd529 /include/linux/pse-pd
parente52f7c1ddf3e47243c330923ea764e7ccfbe99f7 (diff)
eth: pse: add missing static inlines
build bot reports missing 'static inline' qualifiers in the header. Reported-by: kernel test robot <lkp@intel.com> Fixes: 18ff0bcda6d1 ("ethtool: add interface to interact with Ethernet Power Equipment") Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.kernel.org/r/20221004040327.2034878-1-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/pse-pd')
-rw-r--r--include/linux/pse-pd/pse.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/pse-pd/pse.h b/include/linux/pse-pd/pse.h
index fd1a916eeeba..fb724c65c77b 100644
--- a/include/linux/pse-pd/pse.h
+++ b/include/linux/pse-pd/pse.h
@@ -110,16 +110,16 @@ static inline void pse_control_put(struct pse_control *psec)
{
}
-int pse_ethtool_get_status(struct pse_control *psec,
- struct netlink_ext_ack *extack,
- struct pse_control_status *status)
+static inline int pse_ethtool_get_status(struct pse_control *psec,
+ struct netlink_ext_ack *extack,
+ struct pse_control_status *status)
{
return -ENOTSUPP;
}
-int pse_ethtool_set_config(struct pse_control *psec,
- struct netlink_ext_ack *extack,
- const struct pse_control_config *config)
+static inline int pse_ethtool_set_config(struct pse_control *psec,
+ struct netlink_ext_ack *extack,
+ const struct pse_control_config *config)
{
return -ENOTSUPP;
}