|
@@ -214,7 +214,7 @@ static struct of_device_id __devinitdata of_anatop_regulator_match_tbl[] = {
|
|
{ /* end */ }
|
|
{ /* end */ }
|
|
};
|
|
};
|
|
|
|
|
|
-static struct platform_driver anatop_regulator = {
|
|
|
|
|
|
+static struct platform_driver anatop_regulator_driver = {
|
|
.driver = {
|
|
.driver = {
|
|
.name = "anatop_regulator",
|
|
.name = "anatop_regulator",
|
|
.owner = THIS_MODULE,
|
|
.owner = THIS_MODULE,
|
|
@@ -226,13 +226,13 @@ static struct platform_driver anatop_regulator = {
|
|
|
|
|
|
static int __init anatop_regulator_init(void)
|
|
static int __init anatop_regulator_init(void)
|
|
{
|
|
{
|
|
- return platform_driver_register(&anatop_regulator);
|
|
|
|
|
|
+ return platform_driver_register(&anatop_regulator_driver);
|
|
}
|
|
}
|
|
postcore_initcall(anatop_regulator_init);
|
|
postcore_initcall(anatop_regulator_init);
|
|
|
|
|
|
static void __exit anatop_regulator_exit(void)
|
|
static void __exit anatop_regulator_exit(void)
|
|
{
|
|
{
|
|
- platform_driver_unregister(&anatop_regulator);
|
|
|
|
|
|
+ platform_driver_unregister(&anatop_regulator_driver);
|
|
}
|
|
}
|
|
module_exit(anatop_regulator_exit);
|
|
module_exit(anatop_regulator_exit);
|
|
|
|
|