Search Linux Wireless

Re: [RFC] cfg80211: add PM hooks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux