diff options
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_hdmiphy.c')
| -rw-r--r-- | drivers/gpu/drm/exynos/exynos_hdmiphy.c | 6 | 
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_hdmiphy.c b/drivers/gpu/drm/exynos/exynos_hdmiphy.c index 27d1720f1bb..ea49d132ecf 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmiphy.c +++ b/drivers/gpu/drm/exynos/exynos_hdmiphy.c @@ -46,6 +46,7 @@ static const struct i2c_device_id hdmiphy_id[] = {  	{ },  }; +#ifdef CONFIG_OF  static struct of_device_id hdmiphy_match_types[] = {  	{  		.compatible = "samsung,exynos5-hdmiphy", @@ -53,16 +54,17 @@ static struct of_device_id hdmiphy_match_types[] = {  		/* end node */  	}  }; +#endif  struct i2c_driver hdmiphy_driver = {  	.driver = {  		.name	= "exynos-hdmiphy",  		.owner	= THIS_MODULE, -		.of_match_table = hdmiphy_match_types, +		.of_match_table = of_match_ptr(hdmiphy_match_types),  	},  	.id_table = hdmiphy_id,  	.probe		= hdmiphy_probe, -	.remove		= __devexit_p(hdmiphy_remove), +	.remove		= hdmiphy_remove,  	.command		= NULL,  };  EXPORT_SYMBOL(hdmiphy_driver);  |