On Thu, 2013-01-24 at 15:28 +0100, Tom Gundersen wrote: > When built with CONFIG_EFI_VARS=m, normal auotloading of the module when > attempting to mount the fs does not work. Add a modalias to fix this. > > Before: > # mount -t efivarfs none /mnt > mount: unknown filesystem type 'efivarfs' > > After > # mount -t efivarfs none /mnt > Success! > > The problem still remains that /sys/firmware/efi/efivars does not exist before > the module is loaded, so the mounting of the fs in its correct place still fails, > but that's a problem for a separate patch. > > Cc: Matt Fleming <matt.fleming@xxxxxxxxx> > Cc: Kay Sievers <kay@xxxxxxxx> > Signed-off-by: Tom Gundersen <teg@xxxxxxx> > --- > drivers/firmware/efivars.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c > index 7b1c374..b7cff5c 100644 > --- a/drivers/firmware/efivars.c > +++ b/drivers/firmware/efivars.c > @@ -92,6 +92,7 @@ > MODULE_AUTHOR("Matt Domsch <Matt_Domsch@xxxxxxxx>"); > MODULE_DESCRIPTION("sysfs interface to EFI Variables"); > MODULE_LICENSE("GPL"); > +MODULE_ALIAS("efivarfs"); > MODULE_VERSION(EFIVARS_VERSION); > > #define DUMP_NAME_LEN 52 Looks fine to me. Jeremy? -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html