Prepare ntb_transport for alternative backend by renaming the current
implementation to ntb_transport_core.c and switching the module build to
ntb_transport-y.
No functional change.
Signed-off-by: Koichiro Den <den@valinux.co.jp>
---
drivers/ntb/Makefile | 2 ++
drivers/ntb/{ntb_transport.c => ntb_transport_core.c} | 0
2 files changed, 2 insertions(+)
rename drivers/ntb/{ntb_transport.c => ntb_transport_core.c} (100%)
diff --git a/drivers/ntb/Makefile b/drivers/ntb/Makefile
index 3a6fa181ff99..9b66e5fafbc0 100644
--- a/drivers/ntb/Makefile
+++ b/drivers/ntb/Makefile
@@ -4,3 +4,5 @@ obj-$(CONFIG_NTB_TRANSPORT) += ntb_transport.o
ntb-y := core.o
ntb-$(CONFIG_NTB_MSI) += msi.o
+
+ntb_transport-y := ntb_transport_core.o
diff --git a/drivers/ntb/ntb_transport.c b/drivers/ntb/ntb_transport_core.c
similarity index 100%
rename from drivers/ntb/ntb_transport.c
rename to drivers/ntb/ntb_transport_core.c
--
2.51.0