|
@@ -1,7 +1,7 @@
|
|
/*
|
|
/*
|
|
* CPU Frequency Scaling for Loongson 1 SoC
|
|
* CPU Frequency Scaling for Loongson 1 SoC
|
|
*
|
|
*
|
|
- * Copyright (C) 2014 Zhang, Keguang <keguang.zhang@gmail.com>
|
|
|
|
|
|
+ * Copyright (C) 2014-2016 Zhang, Keguang <keguang.zhang@gmail.com>
|
|
*
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public
|
|
* This file is licensed under the terms of the GNU General Public
|
|
* License version 2. This program is licensed "as is" without any
|
|
* License version 2. This program is licensed "as is" without any
|
|
@@ -208,15 +208,15 @@ out:
|
|
}
|
|
}
|
|
|
|
|
|
static struct platform_driver ls1x_cpufreq_platdrv = {
|
|
static struct platform_driver ls1x_cpufreq_platdrv = {
|
|
- .driver = {
|
|
|
|
|
|
+ .probe = ls1x_cpufreq_probe,
|
|
|
|
+ .remove = ls1x_cpufreq_remove,
|
|
|
|
+ .driver = {
|
|
.name = "ls1x-cpufreq",
|
|
.name = "ls1x-cpufreq",
|
|
},
|
|
},
|
|
- .probe = ls1x_cpufreq_probe,
|
|
|
|
- .remove = ls1x_cpufreq_remove,
|
|
|
|
};
|
|
};
|
|
|
|
|
|
module_platform_driver(ls1x_cpufreq_platdrv);
|
|
module_platform_driver(ls1x_cpufreq_platdrv);
|
|
|
|
|
|
MODULE_AUTHOR("Kelvin Cheung <keguang.zhang@gmail.com>");
|
|
MODULE_AUTHOR("Kelvin Cheung <keguang.zhang@gmail.com>");
|
|
-MODULE_DESCRIPTION("Loongson 1 CPUFreq driver");
|
|
|
|
|
|
+MODULE_DESCRIPTION("Loongson1 CPUFreq driver");
|
|
MODULE_LICENSE("GPL");
|
|
MODULE_LICENSE("GPL");
|