virt/sev-guest: Add a MODULE_ALIAS
authorCole Robinson <crobinso@redhat.com>
Fri, 4 Nov 2022 20:42:45 +0000 (16:42 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:32:09 +0000 (13:32 +0100)
commit3c1aac9cef5fac1a0cced123d15bb49383c4e88d
treec76d85a90435e522121996967e71d11875f6c346
parent91426b258392365ce223ba1a7470ee97352a8c23
virt/sev-guest: Add a MODULE_ALIAS

[ Upstream commit 2874529b3513bdc90299c90f40713602da685e35 ]

Autoload the driver when, for example, SNP init code creates the
corresponding platform device.

  [ bp: Rewrite commit message. ]

Fixes: fce96cf04430 ("virt: Add SEV-SNP guest driver")
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Link: https://lore.kernel.org/r/ff480c5e688eb0a72a4db0a29c7b1bb54c45bfd4.1667594253.git.crobinso@redhat.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/virt/coco/sev-guest/sev-guest.c