platform.c (6e9041c6ddd6cbdc61d87bcaca8ca7bb17c28377) platform.c (45f0a85c8258741d11bda25c0a5669c06267204a)
1/*
2 * platform.c - platform 'pseudo' bus for legacy devices
3 *
4 * Copyright (c) 2002-3 Patrick Mochel
5 * Copyright (c) 2002-3 Open Source Development Labs
6 *
7 * This file is released under the GPLv2
8 *

--- 874 unchanged lines hidden (view full) ---

883 return ret;
884}
885
886#endif /* CONFIG_HIBERNATE_CALLBACKS */
887
888static const struct dev_pm_ops platform_dev_pm_ops = {
889 .runtime_suspend = pm_generic_runtime_suspend,
890 .runtime_resume = pm_generic_runtime_resume,
1/*
2 * platform.c - platform 'pseudo' bus for legacy devices
3 *
4 * Copyright (c) 2002-3 Patrick Mochel
5 * Copyright (c) 2002-3 Open Source Development Labs
6 *
7 * This file is released under the GPLv2
8 *

--- 874 unchanged lines hidden (view full) ---

883 return ret;
884}
885
886#endif /* CONFIG_HIBERNATE_CALLBACKS */
887
888static const struct dev_pm_ops platform_dev_pm_ops = {
889 .runtime_suspend = pm_generic_runtime_suspend,
890 .runtime_resume = pm_generic_runtime_resume,
891 .runtime_idle = pm_generic_runtime_idle,
892 USE_PLATFORM_PM_SLEEP_OPS
893};
894
895struct bus_type platform_bus_type = {
896 .name = "platform",
897 .dev_attrs = platform_dev_attrs,
898 .match = platform_match,
899 .uevent = platform_uevent,

--- 326 unchanged lines hidden ---
891 USE_PLATFORM_PM_SLEEP_OPS
892};
893
894struct bus_type platform_bus_type = {
895 .name = "platform",
896 .dev_attrs = platform_dev_attrs,
897 .match = platform_match,
898 .uevent = platform_uevent,

--- 326 unchanged lines hidden ---