summaryrefslogtreecommitdiff
path: root/net/devlink/Makefile
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-01-04 20:05:17 -0800
committerJakub Kicinski <kuba@kernel.org>2023-01-05 22:12:00 -0800
commitf05bd8ebeb69c803efd6d8a76d96b7fcd7011094 (patch)
tree3ed3c7ad9e8ddd04942a6ddb89571b006051c76d /net/devlink/Makefile
parent0da6855378b9e89c025d3eb43125712498b71e0e (diff)
devlink: move code to a dedicated directory
The devlink code is hard to navigate with 13kLoC in one file. I really like the way Michal split the ethtool into per-command files and core. It'd probably be too much to split it all up, but we can at least separate the core parts out of the per-cmd implementations and put it in a directory so that new commands can be separate files. Move the code, subsequent commit will do a partial split. Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/devlink/Makefile')
-rw-r--r--net/devlink/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/devlink/Makefile b/net/devlink/Makefile
new file mode 100644
index 000000000000..3a60959f71ee
--- /dev/null
+++ b/net/devlink/Makefile
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
+
+obj-y := leftover.o