MCI: init device_node for MCI mainarea cdev
This fixes a regression, where boards specifying the environment
path using the form device-path = &phandle, "partname:part" would
be unable to find their env.

This is due to of_find_path() switching to cdev_by_device_node()
internally, which expects the device_node member of the main
area cdev to be initialized.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 2185434 commit d37f1284dee584ff28439f90f9275e44e4ad5535
@Lucas Stach Lucas Stach authored on 8 Dec 2015
Sascha Hauer committed on 10 Dec 2015
Showing 1 changed file
View
drivers/mci/mci-core.c