3 * Copyright (C) 2015 Fuzhou Rockchip Electronics Co., Ltd
5 * Xiao Feng <xf@rock-chips.com>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
11 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
12 * kind, whether express or implied; without even the implied warranty
13 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
17 #include <linux/err.h>
18 #include <linux/init.h>
19 #include <linux/kernel.h>
20 #include <linux/module.h>
22 #include <linux/platform_device.h>
24 static int __init rockchip_cpufreq_driver_init(void)
26 struct platform_device *pdev;
28 pdev = platform_device_register_simple("cpufreq-dt", -1, NULL, 0);
29 return PTR_ERR_OR_ZERO(pdev);
31 module_init(rockchip_cpufreq_driver_init);
33 MODULE_AUTHOR("Xiao Feng <xf@rock-chips.com>");
34 MODULE_DESCRIPTION("Rockchip cpufreq driver");
35 MODULE_LICENSE("GPL v2");