<clip> > > @@ -274,8 +278,16 @@ static int __init pm_dbg_init(void) > > > > pwrdm_for_each(pwrdms_setup, (void *)d); > > > > - (void) debugfs_create_file("enable_off_mode", S_IRUGO | S_IWUSR, d, > > - &enable_off_mode, &pm_dbg_option_fops); > > + if (cpu_is_omap34xx()) > > + (void) debugfs_create_file("enable_off_mode", > > + S_IRUGO | S_IWUSR, d, &enable_off_mode, > > + &pm_dbg_option_fops); > Is the enable_off_mode entry needed on other OMAP platorms (OMAP<3)? Actually I am not sure, I've never used OMAP2. It looks like at least the kernel does not support off-mode for OMAP2, but according to TRM it might be possible to support it on HW. -Tero -- 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