mmc: sdhci-s3c: hide forward declaration of of_device_id behind CONFIG_OF
[linux-2.6-microblaze.git] / drivers / mmc / host / sdhci-s3c.c
index cb5f87b..f48a788 100644 (file)
@@ -461,7 +461,9 @@ static int sdhci_s3c_parse_dt(struct device *dev,
 }
 #endif
 
+#ifdef CONFIG_OF
 static const struct of_device_id sdhci_s3c_dt_match[];
+#endif
 
 static inline struct sdhci_s3c_drv_data *sdhci_s3c_get_driver_data(
                        struct platform_device *pdev)