diff --git a/mpt/Makefile b/mpt/Makefile index e2eae0911..d421d950c 100644 --- a/mpt/Makefile +++ b/mpt/Makefile @@ -47,6 +47,7 @@ EXTRA_CFLAGS += -I$(LSI_INC_DIR) ifneq ($(KERNELRELEASE),) obj-$(CONFIG_FUSION_SCST) += mpt_scst.o +#obj-m += mpt_scst.o else diff --git a/mpt/mpt_scst.c b/mpt/mpt_scst.c index 7625c38ae..46b2f47ec 100644 --- a/mpt/mpt_scst.c +++ b/mpt/mpt_scst.c @@ -376,7 +376,7 @@ mptstm_probe(struct pci_dev *pdev, const struct pci_device_id *id) atomic_set(&tgt->sess_count, 0); init_waitqueue_head(&tgt->waitQ); - tgt->scst_tgt = scst_register(&tgt_template); + tgt->scst_tgt = scst_register(&tgt_template, NULL); if (tgt->scst_tgt == NULL) { PRINT_ERROR(MYNAM ": scst_register() " "failed for host %p", pdev);