diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-01-04 20:05:19 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-01-05 22:13:31 -0800 |
commit | 687125b5799cd5120437fa455cfccbe8537916ff (patch) | |
tree | 5afe63a5ca41104d4328105f99ea61a65341007c /net/devlink/Makefile | |
parent | e50ef40f9a9a35d8526d38e6b5a165178fa1857f (diff) |
devlink: split out core code
Move core code into a separate file. It's spread around the main
file which makes refactoring and figuring out how devlink works
harder.
Move the xarray, all the most core devlink instance code out like
locking, ref counting, alloc, register, etc. Leave port stuff in
leftover.c, if we want to move port code it'd probably be to its
own file.
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/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/devlink/Makefile b/net/devlink/Makefile index 3a60959f71ee..aff7da844e5d 100644 --- a/net/devlink/Makefile +++ b/net/devlink/Makefile @@ -1,3 +1,3 @@ # SPDX-License-Identifier: GPL-2.0 -obj-y := leftover.o +obj-y := leftover.o core.o |