Skip to content
Commit ccf04c51 authored by Daniel Mack's avatar Daniel Mack Committed by Tony Lindgren
Browse files

mtd: omap-nand: pass device_node in platform data



Pass an optional device_node pointer in the platform data, which in turn
will be put into a mtd_part_parser_data. This way, code that sets up the
platform devices can pass along the node from DT so that the partitions
can be parsed.

For non-DT boards, this change has no effect.

Signed-off-by: default avatarDaniel Mack <zonque@gmail.com>
Acked-by: default avatarGrant Likely <grant.likely@secretlab.ca>
Acked-by: default avatarArtem Bityutskiy <dedekind1@gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 2f98ca89
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment