diff mbox

drm/omap: panel-sony-acx565akm.c: Add MODULE_ALIAS

Message ID 20161227201216.1601-1-jarkko.nikula@bitmer.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jarkko Nikula Dec. 27, 2016, 8:12 p.m. UTC
Add module alias for Sony ACX565AKM LCD panel. This makes it probe on Nokia
N900 when panel driver is built as a module.

Signed-off-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
---
This is on top of linux-next next-20161224.
---
 drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Tomi Valkeinen Jan. 4, 2017, 12:08 p.m. UTC | #1
Hi,

On 27/12/16 22:12, Jarkko Nikula wrote:
> Add module alias for Sony ACX565AKM LCD panel. This makes it probe on Nokia
> N900 when panel driver is built as a module.
> 
> Signed-off-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
> ---
> This is on top of linux-next next-20161224.
> ---
>  drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c b/drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c
> index 746cb8d9cba1..5ab39e0060f2 100644
> --- a/drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c
> +++ b/drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c
> @@ -909,6 +909,7 @@ static struct spi_driver acx565akm_driver = {
>  
>  module_spi_driver(acx565akm_driver);
>  
> +MODULE_ALIAS("spi:sony,acx565akm");
>  MODULE_AUTHOR("Nokia Corporation");
>  MODULE_DESCRIPTION("acx565akm LCD Driver");
>  MODULE_LICENSE("GPL");
> 

Thanks, queued for 4.11.

 Tomi
diff mbox

Patch

diff --git a/drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c b/drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c
index 746cb8d9cba1..5ab39e0060f2 100644
--- a/drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c
+++ b/drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c
@@ -909,6 +909,7 @@  static struct spi_driver acx565akm_driver = {
 
 module_spi_driver(acx565akm_driver);
 
+MODULE_ALIAS("spi:sony,acx565akm");
 MODULE_AUTHOR("Nokia Corporation");
 MODULE_DESCRIPTION("acx565akm LCD Driver");
 MODULE_LICENSE("GPL");