diff mbox

[06/16] gpio: pl061: Enable module alias autogeneration for AMBA drivers

Message ID 1317830707-17517-7-git-send-email-dave.martin@linaro.org
State Accepted
Commit 955b678c03645117c4ad5e52c9946a25e3ca3199
Headers show

Commit Message

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

Comments

Grant Likely Oct. 5, 2011, 4:39 p.m. UTC | #1
On Wed, Oct 5, 2011 at 10:04 AM, Dave Martin <dave.martin@linaro.org> wrote:
> Signed-off-by: Dave Martin <dave.martin@linaro.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>

Feel free to take this through the same tree that the rest of the
patches go through.

g.

> ---
>  drivers/gpio/gpio-pl061.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/gpio/gpio-pl061.c b/drivers/gpio/gpio-pl061.c
> index 2c5a18f..503e9d5 100644
> --- a/drivers/gpio/gpio-pl061.c
> +++ b/drivers/gpio/gpio-pl061.c
> @@ -339,6 +339,8 @@ static struct amba_id pl061_ids[] = {
>        { 0, 0 },
>  };
>
> +MODULE_DEVICE_TABLE(amba, pl061_ids);
> +
>  static struct amba_driver pl061_gpio_driver = {
>        .drv = {
>                .name   = "pl061_gpio",
> --
> 1.7.4.1
>
>
diff mbox

Patch

diff --git a/drivers/gpio/gpio-pl061.c b/drivers/gpio/gpio-pl061.c
index 2c5a18f..503e9d5 100644
--- a/drivers/gpio/gpio-pl061.c
+++ b/drivers/gpio/gpio-pl061.c
@@ -339,6 +339,8 @@  static struct amba_id pl061_ids[] = {
 	{ 0, 0 },
 };
 
+MODULE_DEVICE_TABLE(amba, pl061_ids);
+
 static struct amba_driver pl061_gpio_driver = {
 	.drv = {
 		.name	= "pl061_gpio",