X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fpm_legacy.h;h=514729a446888e21dee4289db2ea4e71f80f6eaa;hb=ee7b9e3706b9c5f90113eb16a1a84a1c01e09f95;hp=008932d73c3564db945995b5cc1db52c8811c882;hpb=ac69e973ff0660e455f4ba1ddd4dcce4ae70ed1a;p=linux-2.6 diff --git a/include/linux/pm_legacy.h b/include/linux/pm_legacy.h index 008932d73c..514729a446 100644 --- a/include/linux/pm_legacy.h +++ b/include/linux/pm_legacy.h @@ -1,7 +1,6 @@ #ifndef __LINUX_PM_LEGACY_H__ #define __LINUX_PM_LEGACY_H__ -#include #ifdef CONFIG_PM_LEGACY @@ -15,11 +14,6 @@ extern int pm_active; struct pm_dev __deprecated * pm_register(pm_dev_t type, unsigned long id, pm_callback callback); -/* - * Unregister all devices with matching callback - */ -void __deprecated pm_unregister_all(pm_callback callback); - /* * Send a request to all devices */ @@ -36,8 +30,6 @@ static inline struct pm_dev *pm_register(pm_dev_t type, return NULL; } -static inline void pm_unregister_all(pm_callback callback) {} - static inline int pm_send_all(pm_request_t rqst, void *data) { return 0;