Hi Johannes,
+ .suspend = wiphy_suspend,
+ .resume = wiphy_resume,
};
this needs to be wrapped into CONFIG_PM, because otherwise the build
will fail when CONFIG_PM is not enabled.
I thought so too, but then I looked at include/linux/device.h
when did this got changed? And more to the point, why nobody bothered
to remove all the CONFIG_PM and CONFIG_HOTPLUG ifdefs splattered
around the kernel. It must be part of Greg's changes to remove class
devices. I am not sure this is all the right approach since
potentially it blots the kernel.
This would also means that the CONFIG_HOTPLUG for dev_uevent can go
away.
Regards
Marcel
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html