lkml.org 
[lkml]   [2023]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v1 1/1] mmc: sdhci-of-dwcmshc: add the missing device table IDs for acpi
On Thu, 2 Feb 2023 at 16:29, Liming Sun <limings@nvidia.com> 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@nvidia.com>
> Signed-off-by: Liming Sun <limings@nvidia.com>

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
>

\
 
 \ /
  Last update: 2023-03-27 00:21    [W:0.033 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site