eeprom: at24: Enable OF partition parsing
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
b67b2671c2
commit
b0fd9462d6
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue