egl/android: Fix build break with dri2_initialize_android _EGLDisplay parameter
authorRob Herring <robh@kernel.org>
Wed, 3 Jan 2018 16:16:23 +0000 (10:16 -0600)
committerRob Herring <robh@kernel.org>
Thu, 4 Jan 2018 16:18:10 +0000 (10:18 -0600)
commitaa187fe7bfac856207a5feee36e17120a6ee9d22
tree27fa672db63de6c962e8c3486a236d51a008d566
parent00a81e9909365065545a3c2dc362b645a8238fb2
egl/android: Fix build break with dri2_initialize_android _EGLDisplay parameter

Commit 2f421651aca9 ("egl: let each platform decided how to handle
LIBGL_ALWAYS_SOFTWARE") broke the build due to copy-n-paste of misnamed
function parameter.:

src/egl/drivers/dri2/platform_android.c:1183:8: error: use of undeclared identifier 'disp'

Rather than just fixing 'disp', rename the function parameter 'dpy' to
'disp' to align with the other EGL platforms' implementations.

Fixes: 2f421651aca9 ("egl: let each platform decided how to handle LIBGL_ALWAYS_SOFTWARE")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Acked-by: Eric Engestrom <eric.engestrom@imgtec.com>
Signed-off-by: Rob Herring <robh@kernel.org>
src/egl/drivers/dri2/platform_android.c