]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
OMAP: omap_device: add to_omap_device() macro
authorKevin Hilman <khilman@deeprootsystems.com>
Tue, 8 Dec 2009 23:34:17 +0000 (16:34 -0700)
committerpaul <paul@twilight.(none)>
Sat, 12 Dec 2009 00:00:43 +0000 (17:00 -0700)
commita470c42cb89a5282f816b37a0d1eef68fe455f31
tree40c92db9bbbe1f8ced101640efac04b528fad8a2
parenta16b1f7f8692163e0c6b4741d8980837dfca75f1
OMAP: omap_device: add to_omap_device() macro

Following the model of to_platform_device(), add to_omap_device()
macro so a platform_device pointer can be converted into an
omap_device pointer.

Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/plat-omap/include/plat/omap_device.h