Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dmaengine: qcom_hidma: autoload while probing ACPI

MODULE_DEVICE_TABLE is used by the kernel to determine which device driver
should be loaded for which platform device. MODULE_DEVICE_TABLE has been
only defined for the device-tree based platforms in the current code.
Defining it also for ACPI based platforms.

Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>

authored by

Sinan Kaya and committed by
Vinod Koul
75ff7668 c6e4584d

+2
+1
drivers/dma/qcom/hidma.c
··· 895 895 {"QCOM8062"}, 896 896 {}, 897 897 }; 898 + MODULE_DEVICE_TABLE(acpi, hidma_acpi_ids); 898 899 #endif 899 900 900 901 static const struct of_device_id hidma_match[] = {
+1
drivers/dma/qcom/hidma_mgmt.c
··· 282 282 {"QCOM8060"}, 283 283 {}, 284 284 }; 285 + MODULE_DEVICE_TABLE(acpi, hidma_mgmt_acpi_ids); 285 286 #endif 286 287 287 288 static const struct of_device_id hidma_mgmt_match[] = {