Re: [PATCH] ASoC: simple-card-utils: add missing MODULE_xxx()

From: Mark Brown
Date: Tue Aug 02 2016 - 14:12:55 EST


On Tue, Aug 02, 2016 at 03:22:08AM +0000, Kuninori Morimoto wrote:

> +MODULE_AUTHOR("Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>");
> +MODULE_DESCRIPTION("ALSA SoC Simple Card Utils");
> +MODULE_LICENSE("GPL v2");

This lot is what is needed (well, just the MODULE_LICENSE).

> +MODULE_ALIAS("platform:asoc-simple-card-utils");

This is wrong, this isn't a driver but rather a library that's used by
other modules so it shouldn't have an alias. The aliases are there to
let modutils know which module to load for a device that it sees.

Attachment: signature.asc
Description: PGP signature