power.c (61c7a080a5a061c976988fd4b844dfb468dda255) power.c (4018294b53d1dae026880e45f174c1cc63b5d435)
1/* power.c: Power management driver.
2 *
3 * Copyright (C) 1999, 2007, 2008 David S. Miller (davem@davemloft.net)
4 */
5
6#include <linux/kernel.h>
7#include <linux/module.h>
8#include <linux/init.h>

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

55static struct of_device_id __initdata power_match[] = {
56 {
57 .name = "power",
58 },
59 {},
60};
61
62static struct of_platform_driver power_driver = {
1/* power.c: Power management driver.
2 *
3 * Copyright (C) 1999, 2007, 2008 David S. Miller (davem@davemloft.net)
4 */
5
6#include <linux/kernel.h>
7#include <linux/module.h>
8#include <linux/init.h>

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

55static struct of_device_id __initdata power_match[] = {
56 {
57 .name = "power",
58 },
59 {},
60};
61
62static struct of_platform_driver power_driver = {
63 .match_table = power_match,
64 .probe = power_probe,
63 .probe = power_probe,
65 .driver = {
66 .name = "power",
64 .driver = {
65 .name = "power",
66 .owner = THIS_MODULE,
67 .of_match_table = power_match,
67 },
68};
69
70static int __init power_init(void)
71{
72 return of_register_driver(&power_driver, &of_platform_bus_type);
73}
74
75device_initcall(power_init);
68 },
69};
70
71static int __init power_init(void)
72{
73 return of_register_driver(&power_driver, &of_platform_bus_type);
74}
75
76device_initcall(power_init);