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

Grant Likely grant.likely at secretlab.ca
Wed Oct 5 12:39:38 EDT 2011


On Wed, Oct 5, 2011 at 10:05 AM, Dave Martin <dave.martin at linaro.org> wrote:
> Signed-off-by: Dave Martin <dave.martin at linaro.org>

Acked-by: Grant Likely <grant.likely at 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
>
>



-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.



More information about the linux-arm-kernel mailing list