diff mbox

[07/16] input: ambakmi: Enable module alias autogeneration for AMBA drivers

Message ID 1317830707-17517-8-git-send-email-dave.martin@linaro.org
State Accepted
Commit 2dfff235918276638875a1d094f061083ccd6de8
Headers show

Commit Message

Dave Martin Oct. 5, 2011, 4:04 p.m. UTC
Signed-off-by: Dave Martin <dave.martin@linaro.org>
---
 drivers/input/serio/ambakmi.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Comments

Dmitry Torokhov Oct. 6, 2011, 3:37 a.m. UTC | #1
On Wed, Oct 05, 2011 at 05:04:58PM +0100, Dave Martin wrote:
> Signed-off-by: Dave Martin <dave.martin@linaro.org>

Acked-by: Dmitry Torokhov <dtor@mail.ru>

> ---
>  drivers/input/serio/ambakmi.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/input/serio/ambakmi.c b/drivers/input/serio/ambakmi.c
> index 12abc50..8407d5b 100644
> --- a/drivers/input/serio/ambakmi.c
> +++ b/drivers/input/serio/ambakmi.c
> @@ -195,6 +195,8 @@ static struct amba_id amba_kmi_idtable[] = {
>  	{ 0, 0 }
>  };
>  
> +MODULE_DEVICE_TABLE(amba, amba_kmi_idtable);
> +
>  static struct amba_driver ambakmi_driver = {
>  	.drv		= {
>  		.name	= "kmi-pl050",
> -- 
> 1.7.4.1
>
diff mbox

Patch

diff --git a/drivers/input/serio/ambakmi.c b/drivers/input/serio/ambakmi.c
index 12abc50..8407d5b 100644
--- a/drivers/input/serio/ambakmi.c
+++ b/drivers/input/serio/ambakmi.c
@@ -195,6 +195,8 @@  static struct amba_id amba_kmi_idtable[] = {
 	{ 0, 0 }
 };
 
+MODULE_DEVICE_TABLE(amba, amba_kmi_idtable);
+
 static struct amba_driver ambakmi_driver = {
 	.drv		= {
 		.name	= "kmi-pl050",