Skip to content
Commit d66b3fe4 authored by Kevin Hilman's avatar Kevin Hilman
Browse files

OMAP: omap_device: decouple platform_device from omap_device



Rather than embedding a struct platform_device inside a struct
omap_device, decouple them, leaving only a pointer to the
platform_device inside the omap_device.

Use the arch-specific data field of the platform_device (pdev_archdata)
to add an omap_device pointer after the platform_device has been created.

Signed-off-by: default avatarKevin Hilman <khilman@ti.com>
parent 9f8b6949
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment