OpenCloudOS-Kernel/drivers/gpu/drm/mediatek
Arnd Bergmann de4ae068eb drm: mediatek: fixup drm_gem_object_lookup API change
The drm_gem_object_lookup() function prototype changed while this
driver was added, so it fails to build now:

drivers/gpu/drm/mediatek/mtk_drm_gem.c: In function 'mtk_drm_gem_dumb_map_offset':
drivers/gpu/drm/mediatek/mtk_drm_gem.c:142:30: error: passing argument 1 of 'drm_gem_object_lookup' from incompatible pointer type [-Werror=incompatible-pointer-types]
  obj = drm_gem_object_lookup(dev, file_priv, handle);

This fixes the new caller as well.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: a8ad0bd84f ("drm: Remove unused drm_device from drm_gem_object_lookup()")
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1463587653-3035181-4-git-send-email-arnd@arndb.de
2016-05-18 19:16:16 +02:00
..
Kconfig
Makefile drm/mediatek: Add DPI sub driver 2016-05-06 17:47:38 +02:00
mtk_disp_ovl.c
mtk_disp_rdma.c
mtk_dpi.c drm/mediatek: Add DPI sub driver 2016-05-06 17:47:38 +02:00
mtk_dpi_regs.h drm/mediatek: Add DPI sub driver 2016-05-06 17:47:38 +02:00
mtk_drm_crtc.c drm: Drop crtc argument from __drm_atomic_helper_crtc_destroy_state 2016-05-17 08:56:41 +02:00
mtk_drm_crtc.h
mtk_drm_ddp.c
mtk_drm_ddp.h
mtk_drm_ddp_comp.c
mtk_drm_ddp_comp.h
mtk_drm_drv.c drm/mediatek: Add DPI sub driver 2016-05-06 17:47:38 +02:00
mtk_drm_drv.h drm/mediatek: Add DPI sub driver 2016-05-06 17:47:38 +02:00
mtk_drm_fb.c drm: mediatek: fixup drm_gem_object_lookup API change 2016-05-18 19:16:16 +02:00
mtk_drm_fb.h
mtk_drm_gem.c drm: mediatek: fixup drm_gem_object_lookup API change 2016-05-18 19:16:16 +02:00
mtk_drm_gem.h
mtk_drm_plane.c drm: Drop plane argument from __drm_atomic_helper_plane_destroy_state 2016-05-17 08:56:55 +02:00
mtk_drm_plane.h
mtk_dsi.c
mtk_mipi_tx.c