> -----Original Message----- > From: Russell King - ARM Linux [mailto:linux@xxxxxxxxxxxxxxxx] > Sent: Saturday, May 16, 2009 3:44 PM > To: Shilimkar, Santosh > Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxxxxx; > linux-omap@xxxxxxxxxxxxxxx > Subject: Re: [RESUBMIT][PATCH 6/7] OMAP4: Clock stubs since > clock management framework not in. > > +/* This functions is moved to arch/arm/common/clkdev.c. > For OMAP4 since > > + * clock framework is not up , it is defined here to avoid > rework in > > + * every driver */ > > + > > +/* Dummy hooks only for OMAP4.For rest OMAPs, common > clkdev is used */ > > +#if defined(CONFIG_ARCH_OMAP4) > > +struct clk *clk_get(struct device *dev, const char *id) > > +{ > > + return NULL; > > Okay, so all clk's are NULL pointers on OMAP4 currently. > > > +} > > +EXPORT_SYMBOL(clk_get); > > + > > +void clk_put(struct clk *clk) > > +{ > > +} > > +EXPORT_SYMBOL(clk_put); > > +void omap2_clk_prepare_for_reboot(void) > > +{ > > +} > > +EXPORT_SYMBOL(omap2_clk_prepare_for_reboot); > > +#endif > > int clk_enable(struct clk *clk) > > { > > unsigned long flags; > > int ret = 0; > > + if (cpu_is_omap44xx()) > > + /* OMAP4 clk framework not supported yet */ > > + return 0; > > And this enables things to work. Don't know whether above line is a question from you. Just for info all needed clocks are enabled in the u-boot currently. Regards, Santosh -- 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