habanalabs: separate common code to dedicated folders
authorOfir Bitton <obitton@habana.ai>
Mon, 28 Dec 2020 12:36:47 +0000 (14:36 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 27 Jan 2021 19:03:50 +0000 (21:03 +0200)
commit8563e19159b02ec26a6ec7dc7bac9766a8ac494c
tree73e8e46dfa3a800642195872e121d7764838acfb
parentedb07cb69caacb9be06a299cdf62f266292cc890
habanalabs: separate common code to dedicated folders

We separate some of the common code source files to different
folders for a better maintainability and testability.

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/Makefile
drivers/misc/habanalabs/common/mmu/Makefile [new file with mode: 0644]
drivers/misc/habanalabs/common/mmu/mmu.c [moved from drivers/misc/habanalabs/common/mmu.c with 99% similarity]
drivers/misc/habanalabs/common/mmu/mmu_v1.c [moved from drivers/misc/habanalabs/common/mmu_v1.c with 99% similarity]
drivers/misc/habanalabs/common/pci/Makefile [new file with mode: 0644]
drivers/misc/habanalabs/common/pci/pci.c [moved from drivers/misc/habanalabs/common/pci.c with 99% similarity]