[PATCH 3/3]: of: Add some I2C mod aliases table entries for sparc64 systems.

Grant Likely grant.likely at secretlab.ca
Fri Aug 22 08:52:32 EST 2008


On Thu, Aug 21, 2008 at 1:10 AM, David Miller <davem at davemloft.net> wrote:
>
> of: Add some I2C mod aliases table entries for sparc64 systems.
>
> Signed-off-by: David S. Miller <davem at davemloft.net>

I'd like to see a comment above these three lines stating that they
appear in Sparc systems, but otherwise...

Acked-by: Grant Likely <grant.likely at secretlab.ca>

g.

> ---
>  drivers/of/base.c |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/of/base.c b/drivers/of/base.c
> index ad8ac1a..e849f69 100644
> --- a/drivers/of/base.c
> +++ b/drivers/of/base.c
> @@ -410,7 +410,9 @@ struct of_modalias_table {
>        char *modalias;
>  };
>  static struct of_modalias_table of_modalias_table[] = {
> -       /* Empty for now; add entries as needed */
> +       { "i2c-adm1031", "adm1031" },
> +       { "i2c-at24c64", "24c64" },
> +       { "i2c-at34c02", "spd" },
>  };
>
>  /**
> --
> 1.5.6.5.GIT
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
>



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



More information about the devicetree-discuss mailing list