diff mbox

[11/16] spi: pl022: Enable module alias autogeneration for AMBA drivers

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

Commit Message

Dave Martin Oct. 5, 2011, 4:05 p.m. UTC
Signed-off-by: Dave Martin <dave.martin@linaro.org>
---
 drivers/spi/spi-pl022.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:05 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>

> ---
>  drivers/spi/spi-pl022.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/spi/spi-pl022.c b/drivers/spi/spi-pl022.c
> index f103e470..43abaf2 100644
> --- a/drivers/spi/spi-pl022.c
> +++ b/drivers/spi/spi-pl022.c
> @@ -2424,6 +2424,8 @@ static struct amba_id pl022_ids[] = {
>        { 0, 0 },
>  };
>
> +MODULE_DEVICE_TABLE(amba, pl022_ids);
> +
>  static struct amba_driver pl022_driver = {
>        .drv = {
>                .name   = "ssp-pl022",
> --
> 1.7.4.1
>
>
Linus Walleij Oct. 6, 2011, 5:13 p.m. UTC | #2
2011/10/5 Dave Martin <dave.martin@linaro.org>:

> Signed-off-by: Dave Martin <dave.martin@linaro.org>
> ---
>  drivers/spi/spi-pl022.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)

Acked-by: Linus Walleij <linus.walleij@linaro.org>

Thanks,
Linus Walleij
diff mbox

Patch

diff --git a/drivers/spi/spi-pl022.c b/drivers/spi/spi-pl022.c
index f103e470..43abaf2 100644
--- a/drivers/spi/spi-pl022.c
+++ b/drivers/spi/spi-pl022.c
@@ -2424,6 +2424,8 @@  static struct amba_id pl022_ids[] = {
 	{ 0, 0 },
 };
 
+MODULE_DEVICE_TABLE(amba, pl022_ids);
+
 static struct amba_driver pl022_driver = {
 	.drv = {
 		.name	= "ssp-pl022",