aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index 441461f5ee20..dc3429e2eb0f 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -545,20 +545,6 @@ extern struct device *device_create(struct class *cls, struct device *parent,
545 dev_t devt, const char *fmt, ...) 545 dev_t devt, const char *fmt, ...)
546 __attribute__((format(printf, 4, 5))); 546 __attribute__((format(printf, 4, 5)));
547extern void device_destroy(struct class *cls, dev_t devt); 547extern void device_destroy(struct class *cls, dev_t devt);
548#ifdef CONFIG_PM_SLEEP
549extern void destroy_suspended_device(struct class *cls, dev_t devt);
550extern void device_pm_schedule_removal(struct device *);
551#else /* !CONFIG_PM_SLEEP */
552static inline void destroy_suspended_device(struct class *cls, dev_t devt)
553{
554 device_destroy(cls, devt);
555}
556
557static inline void device_pm_schedule_removal(struct device *dev)
558{
559 device_unregister(dev);
560}
561#endif /* !CONFIG_PM_SLEEP */
562 548
563/* 549/*
564 * Platform "fixup" functions - allow the platform to have their say 550 * Platform "fixup" functions - allow the platform to have their say