> -----Original Message----- > From: linux-omap-owner@xxxxxxxxxxxxxxx > [mailto:linux-omap-owner@xxxxxxxxxxxxxxx] On Behalf Of G, > Manjunath Kondaiah > Sent: Tuesday, May 04, 2010 9:30 PM > To: linux-omap@xxxxxxxxxxxxxxx > Cc: Agarwal, Preshit; Tony Lindgren; Kevin Hilman; Turquette, > Mike; V, Hemanth > Subject: [PATCH v2] OMAP3: Registering sgx device and it's > platform data > > The SGX powervr_device is registered with it's platform specific > data to provide information about setting constraint through > omap_pm_set_min_bus_tput. > > Signed-off-by: Preshit Agarwal <preshit.agarwal@xxxxxx> > Signed-off-by: Manjunatha GK <manjugk@xxxxxx> > Cc: Tony Lindgren <tony@xxxxxxxxxxx> > Cc: Kevin Hilman <khilman@xxxxxxxxxxxxxxxxxxx> > Cc: Mike Turquette <mturquette@xxxxxx> > Cc: Hemanth V <hemanthv@xxxxxx> > --- > arch/arm/mach-omap2/devices.c | 26 > ++++++++++++++++++++++- > arch/arm/mach-omap2/include/mach/omap_sgxdef.h | 11 ++++++++++ > 2 files changed, 35 insertions(+), 2 deletions(-) > create mode 100644 arch/arm/mach-omap2/include/mach/omap_sgxdef.h > > diff --git a/arch/arm/mach-omap2/devices.c > b/arch/arm/mach-omap2/devices.c > index 2271b9b..b624f13 100644 > --- a/arch/arm/mach-omap2/devices.c > +++ b/arch/arm/mach-omap2/devices.c > @@ -26,7 +26,7 @@ > #include <plat/mux.h> > #include <mach/gpio.h> > #include <plat/mmc.h> > - > +#include <mach/omap_sgxdef.h> > #include "mux.h" > > #if defined(CONFIG_VIDEO_OMAP2) || defined(CONFIG_VIDEO_OMAP2_MODULE) > @@ -786,6 +786,28 @@ static inline void omap_hdq_init(void) > static inline void omap_hdq_init(void) {} > #endif > > +struct sgx_platform_data omap_sgx_data = { > +#ifdef CONFIG_PM > + .set_min_bus_tput = omap_pm_set_min_bus_tput, > +#else > + .set_min_bus_tput = NULL; This seems to be breaking build if we disable the PM. I will fix it and post the next version. -Manjunath -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html