diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2014-04-03 16:26:00 +0200 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2014-06-02 02:07:05 +0900 |
commit | 000cc9204e5a71dab1aafac1312b209a87077bdd (patch) | |
tree | 18d4dd0acd270ca3c1742fb25d218a2dad25f144 /drivers/gpu/drm/exynos/exynos_drm_drv.h | |
parent | d1afe7d453abe5fa2c5adaf490581bac0d81dd95 (diff) | |
download | lwn-000cc9204e5a71dab1aafac1312b209a87077bdd.tar.gz lwn-000cc9204e5a71dab1aafac1312b209a87077bdd.zip |
drm/exynos: separate dpi from fimd
The patch separates dpi related routines from fimd.
Changelog v2:
- Rename ctx->dpi to ctx->display
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_drv.h')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_drv.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.h b/drivers/gpu/drm/exynos/exynos_drm_drv.h index f4414c17ddd9..e82e620c2e52 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.h +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.h @@ -332,17 +332,12 @@ int exynos_platform_device_ipp_register(void); void exynos_platform_device_ipp_unregister(void); #ifdef CONFIG_DRM_EXYNOS_DPI -int exynos_dpi_probe(struct drm_device *drm_dev, struct device *dev); -int exynos_dpi_remove(struct drm_device *drm_dev, struct device *dev); -struct device_node *exynos_dpi_of_find_panel_node(struct device *dev); +struct exynos_drm_display * exynos_dpi_probe(struct device *dev); +int exynos_dpi_remove(struct device *dev); #else -static inline int exynos_dpi_probe(struct drm_device *drm_dev, - struct device *dev) { return 0; } -static inline int exynos_dpi_remove(struct drm_device *drm_dev, - struct device *dev) { return 0; } -static inline struct device_node - *exynos_dpi_of_find_panel_node(struct device *dev) -{ return NULL; } +static inline struct exynos_drm_display * +exynos_dpi_probe(struct device *dev) { return 0; } +static inline int exynos_dpi_remove(struct device *dev) { return 0; } #endif /* |