Kevin, On Thu, Jan 12, 2012 at 1:52 AM, Kevin Hilman <khilman@xxxxxx> wrote: > Jean Pihet <jean.pihet@xxxxxxxxxxxxxx> writes: > >>> if you already decide in runtime the correct initialization to call, why >>> do you add ifdefs ? >> >> There is no #ifdef with CONFIG_POWER_AVS_OMAP_V[12], those options are >> used to compile or not the respective modules, cf. >> driver/power/avs/Makefile. > > I'd suggest not even having user-selectable Kconfig for this. > > Just have a single Kconfig for POWER_AVS, then have > > config POWER_AVS_OMAP > default PM && (ARCH_OMAP3 || ARCH_OMAP4) > > which compiles both versions of the OMAP IP. Ok will do that. Regards, Jean > > Kevin -- 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