[PATCH v1 1/1] [SRU][J:linux-bluefield][PATCH v1 1/1] UBUNTU: SAUCE: mmc: sdhci-of-dwcmshc: add the missing device table IDs for acpi
Stefan Bader
stefan.bader at canonical.com
Fri Feb 3 13:49:30 UTC 2023
On 03.02.23 13:52, Liming Sun wrote:
> BugLink: https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/2004645
>
Should be fixed when applying. ^
-Stefan
> This commit adds the missing MODULE_DEVICE_TABLE for acpi, or else
> it won't be loaded automatically when compiled as a kernel module.
>
> Signed-off-by: Liming Sun <limings at nvidia.com>
> ---
> drivers/mmc/host/sdhci-of-dwcmshc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mmc/host/sdhci-of-dwcmshc.c b/drivers/mmc/host/sdhci-of-dwcmshc.c
> index fc0af05adaed..9b14febc8f0e 100644
> --- a/drivers/mmc/host/sdhci-of-dwcmshc.c
> +++ b/drivers/mmc/host/sdhci-of-dwcmshc.c
> @@ -375,6 +375,7 @@ static const struct acpi_device_id sdhci_dwcmshc_acpi_ids[] = {
> },
> {}
> };
> +MODULE_DEVICE_TABLE(acpi, sdhci_dwcmshc_acpi_ids);
> #endif
>
> static int dwcmshc_probe(struct platform_device *pdev)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20230203/1945401d/attachment.sig>
More information about the kernel-team
mailing list