Re: [PATCH -next 5/9] mpc85xx_edac: fix module autoloading

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 19, 2024, at 13:38, Yuntao Liu wrote:
> Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded
> based on the alias from platform_device_id table.
>
> Signed-off-by: Yuntao Liu <liuyuntao12@xxxxxxxxxx>

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>

>  	},
>  	{}
>  };
> +MODULE_DEVICE_TABLE(platform, mpc85xx_pci_err_match);
> 

I see that this device is created in arch/powerpc/sysdev/fsl_pci.c,
so your change makes sense here.

     Arnd




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux