|
@@ -670,6 +670,7 @@ static int s3c_rtc_resume(struct platform_device *pdev)
|
|
|
#define s3c_rtc_resume NULL
|
|
|
#endif
|
|
|
|
|
|
+#ifdef CONFIG_OF
|
|
|
static struct s3c_rtc_drv_data s3c_rtc_drv_data_array[] = {
|
|
|
[TYPE_S3C2410] = { TYPE_S3C2410 },
|
|
|
[TYPE_S3C2416] = { TYPE_S3C2416 },
|
|
@@ -677,7 +678,6 @@ static struct s3c_rtc_drv_data s3c_rtc_drv_data_array[] = {
|
|
|
[TYPE_S3C64XX] = { TYPE_S3C64XX },
|
|
|
};
|
|
|
|
|
|
-#ifdef CONFIG_OF
|
|
|
static const struct of_device_id s3c_rtc_dt_match[] = {
|
|
|
{
|
|
|
.compatible = "samsung,s3c2410-rtc",
|