Messages in this thread | | | Date | Sun, 16 May 2004 11:22:27 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: [linux-usb-devel] [BK PATCH] USB changes for 2.6.6 |
| |
On Sun, 16 May 2004, David Brownell wrote: > > More like this then? I'm not sure whether you'd prefer > to apply that logic to the "struct pm_info" innards too. > That file has multiple CONFIG_PM sections, too.
I was thinking just putting it in the existing wrapper sections.
We already have wrappers for pm_register, pm_unregister, pm_unregister_all, pm_send, pm_send_all, etc etc, and this would seem to be just one more case like that.
The alternative is to just always have "power_state" in the "dev_pm_info", especially as some versions of gcc have had bugs with empty structures anyway.
Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |