mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] eeprom: at24: Enable OF partition parsing
@ 2013-11-08 14:26 Sascha Hauer
  0 siblings, 0 replies; only message in thread
From: Sascha Hauer @ 2013-11-08 14:26 UTC (permalink / raw)
  To: barebox

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 drivers/eeprom/at24.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/eeprom/at24.c b/drivers/eeprom/at24.c
index 4b2afc4..5e5b359 100644
--- a/drivers/eeprom/at24.c
+++ b/drivers/eeprom/at24.c
@@ -435,6 +435,8 @@ static int at24_probe(struct device_d *dev)
 
 	devfs_create(&at24->cdev);
 
+	of_parse_partitions(&at24->cdev, dev->device_node);
+
 	return 0;
 
 err_clients:
-- 
1.8.4.rc3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-11-08 14:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-08 14:26 [PATCH] eeprom: at24: Enable OF partition parsing Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox