From 41ad8db00799d72c9701c373a1d7cf18cd2e2928 Mon Sep 17 00:00:00 2001 From: Kevin Hilman Date: Tue, 8 Dec 2009 16:34:17 -0700 Subject: [PATCH] --- yaml --- r: 175631 b: refs/heads/master c: a470c42cb89a5282f816b37a0d1eef68fe455f31 h: refs/heads/master i: 175629: cba5f3bb8fef307328c6eda9a1f52339bf196967 175627: 7495f13a1a0e2379b164f3f2a11efc3812f39924 175623: 44d3a4766c1a3b2e126b1a9e4abeac7f091b0b0b 175615: d226a2b27996bf55d2270ac5cb62ee904692fe86 v: v3 --- [refs] | 2 +- trunk/arch/arm/plat-omap/include/plat/omap_device.h | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index e4ef4d9c4bde..08b77d7ac5f0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a16b1f7f8692163e0c6b4741d8980837dfca75f1 +refs/heads/master: a470c42cb89a5282f816b37a0d1eef68fe455f31 diff --git a/trunk/arch/arm/plat-omap/include/plat/omap_device.h b/trunk/arch/arm/plat-omap/include/plat/omap_device.h index 11a9773a4e7f..d93924699a1b 100644 --- a/trunk/arch/arm/plat-omap/include/plat/omap_device.h +++ b/trunk/arch/arm/plat-omap/include/plat/omap_device.h @@ -137,5 +137,7 @@ struct omap_device_pm_latency { }; -#endif +/* Get omap_device pointer from platform_device pointer */ +#define to_omap_device(x) container_of((x), struct omap_device, pdev) +#endif