#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/printk.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/of.h>
#include <linux/pm_domain.h>
#include <dt-bindings/arm/ux500_pm_domains.h>
static int pd_power_off(struct generic_pm_domain *domain)
{ … }
static int pd_power_on(struct generic_pm_domain *domain)
{ … }
static struct generic_pm_domain ux500_pm_domain_vape = …;
static struct generic_pm_domain *ux500_pm_domains[NR_DOMAINS] = …;
static const struct of_device_id ux500_pm_domain_matches[] = …;
static int ux500_pm_domains_probe(struct platform_device *pdev)
{ … }
static struct platform_driver ux500_pm_domains_driver = …;
static int __init ux500_pm_domains_init(void)
{ … }
arch_initcall(ux500_pm_domains_init);