From c6affeb4dab964aa7a28dd52d6a3450449336c51 Mon Sep 17 00:00:00 2001 From: Logan Gunthorpe Date: Thu, 7 Sep 2017 16:42:10 -0600 Subject: [PATCH] Renamed switchtec_ntb to ntb_hw_switchtec (As requested in upstream by Dave Jiang) --- Kbuild | 2 +- switchtec_ntb.c => ntb_hw_switchtec.c | 0 switchtec.c | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename switchtec_ntb.c => ntb_hw_switchtec.c (100%) diff --git a/Kbuild b/Kbuild index 20c3b2d..24ec50b 100644 --- a/Kbuild +++ b/Kbuild @@ -1,4 +1,4 @@ LINUXINCLUDE := -I$(src) $(LINUXINCLUDE) -obj-m := switchtec.o switchtec_ntb.o +obj-m := switchtec.o ntb_hw_switchtec.o ccflags-y := -Wall -Werror -Werror=implicit-function-declaration diff --git a/switchtec_ntb.c b/ntb_hw_switchtec.c similarity index 100% rename from switchtec_ntb.c rename to ntb_hw_switchtec.c diff --git a/switchtec.c b/switchtec.c index db22994..27f31b6 100644 --- a/switchtec.c +++ b/switchtec.c @@ -1277,7 +1277,7 @@ static int switchtec_pci_probe(struct pci_dev *pdev, int rc; if (pdev->class == MICROSEMI_NTB_CLASSCODE) - request_module_nowait("switchtec_ntb"); + request_module_nowait("ntb_hw_switchtec"); stdev = stdev_create(pdev); if (IS_ERR(stdev))