Re: [PATCH] scsi: ufs-qcom: Fix module autoload

From: Martin K. Petersen
Date: Thu Jan 05 2017 - 18:21:19 EST


>>>>> "Javier" == Javier Martinez Canillas <javier@xxxxxxxxxxxxxxx> writes:

Javier> If the driver is built as a module, autoload won't work because
Javier> the module alias information is not filled. So user-space can't
Javier> match the registered device with the corresponding module.

Javier> Export the module alias information using the
Javier> MODULE_DEVICE_TABLE() macro.

Applied to 4.11/scsi-queue.

--
Martin K. Petersen Oracle Linux Engineering