summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-09-18 20:02:44 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-04 19:09:21 +0100
commit50a84487c3c573a8c7c9146c31af21b51aa86b10 (patch)
treeda86b3f42c84f750cb8b84d92d8d20207e021213
parent9b2256c8274c72bacb7eca7dee5ffe85832cb5e0 (diff)
downloadlinux-50a84487c3c573a8c7c9146c31af21b51aa86b10.tar.bz2
tty: serial: apbuart: Fix module autoload for OF platform driver
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/tty/serial/apbuart.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/apbuart.c b/drivers/tty/serial/apbuart.c
index f3af317131ac..75eb083b3361 100644
--- a/drivers/tty/serial/apbuart.c
+++ b/drivers/tty/serial/apbuart.c
@@ -581,6 +581,7 @@ static const struct of_device_id apbuart_match[] = {
},
{},
};
+MODULE_DEVICE_TABLE(of, apbuart_match);
static struct platform_driver grlib_apbuart_of_driver = {
.probe = apbuart_probe,