|
@@ -442,7 +442,7 @@ static int __devinit rtc_probe(struct platform_device *op)
|
|
|
return platform_device_register(&rtc_cmos_device);
|
|
|
}
|
|
|
|
|
|
-static struct of_device_id __initdata rtc_match[] = {
|
|
|
+static const struct of_device_id rtc_match[] = {
|
|
|
{
|
|
|
.name = "rtc",
|
|
|
.compatible = "m5819",
|
|
@@ -487,7 +487,7 @@ static int __devinit bq4802_probe(struct platform_device *op)
|
|
|
return platform_device_register(&rtc_bq4802_device);
|
|
|
}
|
|
|
|
|
|
-static struct of_device_id __initdata bq4802_match[] = {
|
|
|
+static const struct of_device_id bq4802_match[] = {
|
|
|
{
|
|
|
.name = "rtc",
|
|
|
.compatible = "bq4802",
|
|
@@ -552,7 +552,7 @@ static int __devinit mostek_probe(struct platform_device *op)
|
|
|
return platform_device_register(&m48t59_rtc);
|
|
|
}
|
|
|
|
|
|
-static struct of_device_id __initdata mostek_match[] = {
|
|
|
+static const struct of_device_id mostek_match[] = {
|
|
|
{
|
|
|
.name = "eeprom",
|
|
|
},
|