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))