linux/drivers/auxdisplay
Javier Martinez Canillas 750100a495 auxdisplay: img-ascii-lcd: Fix module autoload
If the driver is built as a module, autoload won't work because the module
alias information is not filled. So user-space can't match the registered
device with the corresponding module.

Export the module alias information using the MODULE_DEVICE_TABLE() macro.

Before this patch:

$ modinfo drivers/auxdisplay/img-ascii-lcd.ko | grep alias
$

After this patch:

$ modinfo drivers/auxdisplay/img-ascii-lcd.ko | grep alias
alias:          of:N*T*Cmti,sead3-lcdC*
alias:          of:N*T*Cmti,sead3-lcd
alias:          of:N*T*Cmti,malta-lcdC*
alias:          of:N*T*Cmti,malta-lcd
alias:          of:N*T*Cimg,boston-lcdC*
alias:          of:N*T*Cimg,boston-lcd

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-04-08 17:48:20 +02:00
..
cfag12864b.c Fix common misspellings 2011-03-31 11:26:23 -03:00
cfag12864bfb.c framebuffer: Use fb_<level> 2013-10-29 12:53:07 +02:00
charlcd.c auxdisplay: charlcd: Add support for displays with more than two lines 2017-03-17 15:10:49 +09:00
hd44780.c auxdisplay: hd44780: Fix DT properties to include units of measurement 2017-04-08 17:48:19 +02:00
ht16k33.c auxdisplay: ht16k33: don't access uninitialized data 2017-04-08 17:48:19 +02:00
img-ascii-lcd.c auxdisplay: img-ascii-lcd: Fix module autoload 2017-04-08 17:48:20 +02:00
Kconfig auxdisplay: Add HD44780 Character LCD support 2017-03-17 15:10:50 +09:00
ks0108.c auxdisplay: ks0108: initialize local parport variable 2015-08-14 17:27:17 -07:00
Makefile auxdisplay: Add HD44780 Character LCD support 2017-03-17 15:10:50 +09:00