summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/exynos/exynos_drm_ipp.h
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2014-05-19 14:54:05 +0400
committerInki Dae <daeinki@gmail.com>2014-06-01 21:07:11 +0400
commit3164605422d0a8b4b0b130fdf5f18cb3d023b77f (patch)
treeeaa7865d15646219a21746e2ac33a9aada9b27b7 /drivers/gpu/drm/exynos/exynos_drm_ipp.h
parentf51bceec03a478db2e888070349c17061225e6ab (diff)
downloadlinux-3164605422d0a8b4b0b130fdf5f18cb3d023b77f.tar.xz
drm/exynos/ipp: simplify property list allocation
prop_list is always allocated, so instead of allocating it dynamically the pointer can be replaced by the structure itself. 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_ipp.h')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_ipp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_ipp.h b/drivers/gpu/drm/exynos/exynos_drm_ipp.h
index 4aa71b21657a..eea4db3c9458 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_ipp.h
+++ b/drivers/gpu/drm/exynos/exynos_drm_ipp.h
@@ -165,7 +165,7 @@ struct exynos_drm_ippdrv {
struct workqueue_struct *event_workq;
struct drm_exynos_ipp_cmd_node *c_node;
struct list_head cmd_list;
- struct drm_exynos_ipp_prop_list *prop_list;
+ struct drm_exynos_ipp_prop_list prop_list;
int (*check_property)(struct device *dev,
struct drm_exynos_ipp_property *property);