]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nvmem: layouts: fix automatic module loading
authorMichael Walle <mwalle@kernel.org>
Fri, 12 Sep 2025 13:13:47 +0000 (14:13 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Sep 2025 14:34:06 +0000 (16:34 +0200)
commit810b790033ccc795d55cbef3927668fd01efdfdf
tree7fea12c011c907542e386fb66a89055f8c266493
parent1b237f190eb3d36f52dffe07a40b5eb210280e00
nvmem: layouts: fix automatic module loading

To support loading of a layout module automatically the MODALIAS
variable in the uevent is needed. Add it.

Fixes: fc29fd821d9a ("nvmem: core: Rework layouts to become regular devices")
Cc: stable@vger.kernel.org
Signed-off-by: Michael Walle <mwalle@kernel.org>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Srinivas Kandagatla <srini@kernel.org>
Link: https://lore.kernel.org/r/20250912131347.303345-2-srini@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/layouts.c