media: lirc: add module alias for lirc_dev
authorSean Young <sean@mess.org>
Thu, 28 Dec 2017 19:45:12 +0000 (14:45 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 23 Jan 2018 12:21:55 +0000 (07:21 -0500)
Since commit a60d64b15c20 ("media: lirc: lirc interface should not be
a raw decoder"), there is no lirc_dev module any more. On Ubuntu 16.10,
the /etc/init.d/lirc startup script attempts to load the lirc_dev module.

Since this module does not exist any more, this script fails. Add an alias
so the correct module is loaded.

Fixes: a60d64b15c20 ("media: lirc: lirc interface should not be a raw decoder")
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/lirc_dev.c

index c04c546bf0920a17115d0e9d75e1195a21f05747..13ef0475d90157831830b857c0cbea2e42ada614 100644 (file)
@@ -816,3 +816,5 @@ void __exit lirc_dev_exit(void)
        class_destroy(lirc_class);
        unregister_chrdev_region(lirc_base_dev, RC_DEV_MAX);
 }
+
+MODULE_ALIAS("lirc_dev");