diff options
Diffstat (limited to 'drivers/rtc/rtc-armada38x.c')
| -rw-r--r-- | drivers/rtc/rtc-armada38x.c | 5 | 
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/rtc/rtc-armada38x.c b/drivers/rtc/rtc-armada38x.c index b4139c200676..569c1054d6b0 100644 --- a/drivers/rtc/rtc-armada38x.c +++ b/drivers/rtc/rtc-armada38x.c @@ -11,7 +11,6 @@  #include <linux/io.h>  #include <linux/module.h>  #include <linux/of.h> -#include <linux/of_device.h>  #include <linux/platform_device.h>  #include <linux/rtc.h> @@ -474,7 +473,6 @@ static const struct armada38x_rtc_data armada8k_data = {  	.alarm = ALARM2,  }; -#ifdef CONFIG_OF  static const struct of_device_id armada38x_rtc_of_match_table[] = {  	{  		.compatible = "marvell,armada-380-rtc", @@ -487,7 +485,6 @@ static const struct of_device_id armada38x_rtc_of_match_table[] = {  	{}  };  MODULE_DEVICE_TABLE(of, armada38x_rtc_of_match_table); -#endif  static __init int armada38x_rtc_probe(struct platform_device *pdev)  { @@ -577,7 +574,7 @@ static struct platform_driver armada38x_rtc_driver = {  	.driver		= {  		.name	= "armada38x-rtc",  		.pm	= &armada38x_rtc_pm_ops, -		.of_match_table = of_match_ptr(armada38x_rtc_of_match_table), +		.of_match_table = armada38x_rtc_of_match_table,  	},  };  |