summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/lirc_dev.c
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2017-12-28 20:45:12 +0100
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-01-23 13:21:55 +0100
commit04d0e8de8a6a3e4ef4a9e04f23beca6a7a5080b2 (patch)
tree4594a27742780ca7b97f29a2c7dca84da0cb8044 /drivers/media/rc/lirc_dev.c
parentmedia: lirc: don't kfree the uninitialized pointer txbuf (diff)
downloadlinux-04d0e8de8a6a3e4ef4a9e04f23beca6a7a5080b2.tar.xz
linux-04d0e8de8a6a3e4ef4a9e04f23beca6a7a5080b2.zip
media: lirc: add module alias for lirc_dev
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>
Diffstat (limited to 'drivers/media/rc/lirc_dev.c')
-rw-r--r--drivers/media/rc/lirc_dev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/rc/lirc_dev.c b/drivers/media/rc/lirc_dev.c
index c04c546bf092..13ef0475d901 100644
--- a/drivers/media/rc/lirc_dev.c
+++ b/drivers/media/rc/lirc_dev.c
@@ -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");