On Tue, 2007-03-20 at 11:25 +0100, Pavel Machek wrote: > The person doing the conversion should add the state, > sorry... ... actually it makes sense, but I'd prefer not to have it, > yet. That's ok. The patch is here for that person to implement it ;) > create static inline pm_valid_only_mem() somewhere in header, then > share it around the code? Actually, it can't be inline if it is to be assigned to a function pointer, but it an be an exported function. Will do that. > I'd keep the c99 syntax here. I prefer the c99 syntax as well, but at least this gives compile errors when somebody adds a new state. Then again, I suppose when they add a new state they'll want to test it and quickly notice that they need to do something to make it accessible. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm