]> 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>
Sun, 12 Oct 2025 11:01:03 +0000 (13:01 +0200)
commit7c35d12fd23a5f59eb9bedb69dbc9d80d0dbef1d
tree87c2dd093e21ad71d65ca38720f0297582680aae
parent51627f45b304f2abfd5397ed39b639e70acf09b3
nvmem: layouts: fix automatic module loading

commit 810b790033ccc795d55cbef3927668fd01efdfdf upstream.

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