efi: Auto-load the efi-pstore module

From: Ben Hutchings <hidden>
Date: 2015-09-28 00:44:16

efi-pstore should be auto-loaded on EFI systems, same as efivars.

Signed-off-by: Ben Hutchings <ben-/+tVBieCtBitmTQ+vhA3Yw@public.gmane.org>
---
This was included in Debian 8 "jessie" with no complaints so far
(and without CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE set), so it seems
to be safe to do.

Ben.
--- a/drivers/firmware/efi/efi-pstore.c
+++ b/drivers/firmware/efi/efi-pstore.c
@@ -400,3 +400,4 @@ module_exit(efivars_pstore_exit);
 
 MODULE_DESCRIPTION("EFI variable backend for pstore");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:efivars");
-- 
Ben Hutchings
All extremists should be taken out and shot.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help