This patch fixes the following build error reported by Toralf Förster: <-- snip --> ... MODPOST 243 modules ERROR: "sas_bios_param" [drivers/scsi/mvsas.ko] undefined! ERROR: "sas_change_queue_type" [drivers/scsi/mvsas.ko] undefined! ERROR: "sas_change_queue_depth" [drivers/scsi/mvsas.ko] undefined! ERROR: "sas_target_destroy" [drivers/scsi/mvsas.ko] undefined! ERROR: "sas_target_alloc" [drivers/scsi/mvsas.ko] undefined! ERROR: "sas_slave_destroy" [drivers/scsi/mvsas.ko] undefined! ERROR: "sas_slave_configure" [drivers/scsi/mvsas.ko] undefined! ERROR: "sas_eh_bus_reset_handler" [drivers/scsi/mvsas.ko] undefined! ERROR: "sas_eh_device_reset_handler" [drivers/scsi/mvsas.ko] undefined! ERROR: "sas_queuecommand" [drivers/scsi/mvsas.ko] undefined! ERROR: "sas_ioctl" [drivers/scsi/mvsas.ko] undefined! ERROR: "sas_register_ha" [drivers/scsi/mvsas.ko] undefined! ERROR: "sas_domain_attach_transport" [drivers/scsi/mvsas.ko] undefined! ERROR: "sas_ssp_task_response" [drivers/scsi/mvsas.ko] undefined! ERROR: "sas_slave_alloc" [drivers/scsi/mvsas.ko] undefined! ERROR: "sas_unregister_ha" [drivers/scsi/mvsas.ko] undefined! make[1]: *** [__modpost] Error 1 <-- snip --> Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx> --- --- a/drivers/scsi/aic94xx/Kconfig +++ b/drivers/scsi/aic94xx/Kconfig @@ -26,7 +26,7 @@ config SCSI_AIC94XX tristate "Adaptec AIC94xx SAS/SATA support" - depends on PCI + depends on SCSI && PCI select SCSI_SAS_LIBSAS select FW_LOADER help -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html