Skip to contentSkip to conversation

: of: Add some I2C mod aliases table entries for sparc64 systems.

PATCH In review David Miller 2 participants 3 messages Aug 21, 2008 Device tree

lore
Share & tools
lore
#0 lore raw

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

of: Add some I2C mod aliases table entries for sparc64 systems.

---
 drivers/of/base.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
drivers/of/base.c +3 -1
index ad8ac1a..e849f69 100644
@@ -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" },
 };
 
 /**
Signature · 1 line
1.5.6.5.GIT
Acked-by on v1 3/3
#1 lore raw
Quoted 4 lines · David Miller

of: Add some I2C mod aliases table entries for sparc64 systems.

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

g.

Quoted 27 lines
---
 drivers/of/base.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
drivers/of/base.c +3 -2
index ad8ac1a..e849f69 100644
@@ -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
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Signature · 2 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.