Re: [PATCH 09/13] ASoC: amd: acp: add machine driver support for pdm use case

From: Mark Brown
Date: Fri Oct 27 2023 - 12:23:43 EST


On Fri, Oct 27, 2023 at 10:54:47AM -0500, Mario Limonciello wrote:

> What would actually go into MODULE_DEVICE_TABLE?

> The platform devices created are contingent upon what was found during the
> top level ACP driver probe. You don't want all the "child" platform drivers
> to load unless they're needed.

You want

MODULE_DEVICE_TABLE(platform, board_ids);

which is effectively the same as all the MODULE_ALIAS items you have
there (which can be removed).

Attachment: signature.asc
Description: PGP signature