From: Mika Westerberg Date: Wed, 4 Feb 2015 13:03:48 +0000 (+0200) Subject: serial: 8250_dw: Add missing MODULE_ALIAS() for module autoloading support X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f3ac3fc287818a63072618b091074267bfa5184d;p=linux-beck.git serial: 8250_dw: Add missing MODULE_ALIAS() for module autoloading support Without this the module does not load automatically whenever suitable platform device appears. Reported-by: Jerome Blin Signed-off-by: Mika Westerberg Reviewed-by: Andy Shevchenko Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c index e60116235836..f426acc8c6b5 100644 --- a/drivers/tty/serial/8250/8250_dw.c +++ b/drivers/tty/serial/8250/8250_dw.c @@ -608,3 +608,4 @@ module_platform_driver(dw8250_platform_driver); MODULE_AUTHOR("Jamie Iles"); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("Synopsys DesignWare 8250 serial port driver"); +MODULE_ALIAS("platform:dw-apb-uart");