#include <linux/clk.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
struct simple_pm_bus { … };
static int simple_pm_bus_probe(struct platform_device *pdev)
{ … }
static void simple_pm_bus_remove(struct platform_device *pdev)
{ … }
static int simple_pm_bus_runtime_suspend(struct device *dev)
{ … }
static int simple_pm_bus_runtime_resume(struct device *dev)
{ … }
static const struct dev_pm_ops simple_pm_bus_pm_ops = …;
#define ONLY_BUS …
static const struct of_device_id simple_pm_bus_of_match[] = …;
MODULE_DEVICE_TABLE(of, simple_pm_bus_of_match);
static struct platform_driver simple_pm_bus_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;