On Thu, Nov 19, 2009 at 7:33 PM, Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote: > On Thu, Nov 19, 2009 at 11:44:14AM +0900, jassi brar wrote: > >> Let each platform code(SoC specific) define names of all possible >> source clocks and let the board init code pass on the potential source >> clocks by some bit-mask(or some other mechanism) while setting the >> platform data. > > This is going to set off warnings from a clock API point of view - > passing clock names around in platform data is usually a sign that > something is very wrong. Keeping the mapping inside the clock API > (still controlled by the board driver but by telling the clock API that > device X should use clock Y). no clock pointer needs to be passed, just a pointer to an array of _strings_ There is no need to even include any clock header in platform code for the purpose. -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html