Re: [PATCH v1 1/1] mmc: sdhci-of-dwcmshc: add the missing device table IDs for acpi

From: Ulf Hansson
Date: Tue Feb 14 2023 - 07:18:58 EST


On Thu, 2 Feb 2023 at 16:29, Liming Sun <limings@xxxxxxxxxx> wrote:
>
> This commit adds the missing MODULE_DEVICE_TABLE for acpi, or else
> it won't be loaded automatically when compiled as a kernel module.
>
> Reviewed-by: David Thompson <davthompson@xxxxxxxxxx>
> Signed-off-by: Liming Sun <limings@xxxxxxxxxx>

Applied for next, thanks!

Kind regards
Uffe


> ---
> 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 49338670c89f..eddaed07755a 100644
> --- a/drivers/mmc/host/sdhci-of-dwcmshc.c
> +++ b/drivers/mmc/host/sdhci-of-dwcmshc.c
> @@ -446,6 +446,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)
> --
> 2.30.1
>