vigs: remove 'gem_init_object' callback function
authorSeokYeon Hwang <syeon.hwang@samsung.com>
Thu, 13 Nov 2014 05:58:41 +0000 (14:58 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Thu, 13 Nov 2014 05:58:41 +0000 (14:58 +0900)
'gem_init_object' callback was removed in kernel version 3.14.

Change-Id: If215ff7b1b8ba7808f1e92a6aaad67b49d7203b5
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
drivers/gpu/drm/vigs/vigs_driver.c
drivers/gpu/drm/vigs/vigs_gem.c
drivers/gpu/drm/vigs/vigs_gem.h

index ab50eff..49e855b 100644 (file)
@@ -215,7 +215,6 @@ static struct drm_driver vigs_drm_driver =
     .enable_vblank = vigs_enable_vblank,
     .disable_vblank = vigs_disable_vblank,
     .irq_handler = vigs_irq_handler,
-    .gem_init_object = vigs_gem_init_object,
     .gem_free_object = vigs_gem_free_object,
     .gem_open_object = vigs_gem_open_object,
     .gem_close_object = vigs_gem_close_object,
index b1ef09b..13bf3cf 100644 (file)
@@ -285,11 +285,6 @@ void vigs_gem_free_object(struct drm_gem_object *gem)
     vigs_gem_cleanup(vigs_gem);
 }
 
-int vigs_gem_init_object(struct drm_gem_object *gem)
-{
-    return 0;
-}
-
 int vigs_gem_open_object(struct drm_gem_object *gem,
                          struct drm_file *file_priv)
 {
index dd8d8d1..7a8646d 100644 (file)
@@ -167,8 +167,6 @@ int vigs_gem_wait(struct vigs_gem_object *vigs_gem);
 
 void vigs_gem_free_object(struct drm_gem_object *gem);
 
-int vigs_gem_init_object(struct drm_gem_object *gem);
-
 int vigs_gem_open_object(struct drm_gem_object *gem,
                          struct drm_file *file_priv);