Re: NAK new drivers without proper power management?

From: Arjan van de Ven
Date: Mon Feb 12 2007 - 04:46:41 EST



>
> By adding dummy functions, wouldn't that just look awkward ?

not really; if you have a template


pm_no_suspend_needed
and
pm_no_restore_needed

functions, and just make it part of ALL device structs that don't need
it.. it's not that bad

or maybe

pm_generic_no_suspend
pm_generic_no_resume

as names, more in line what we use elsewhere in the kernel
--
if you want to mail me at work (you don't), use arjan (at) linux.intel.com
Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/