Add #ifdefs around missing exynos ioctls on earlier kernels.
commita0af4fc8f4b210419b0008d463eb5d8a28729aa3
authorVinson Lee <vlee@twitter.com>
Mon, 1 Apr 2013 18:40:45 +0000 (1 11:40 -0700)
committerDave Jones <davej@redhat.com>
Mon, 1 Apr 2013 22:17:06 +0000 (1 18:17 -0400)
tree944cb4fa33a751083c27332d3d906e8b5d35a16b
parente7348fdeff6bf613e207acc82493321954019f85
Add #ifdefs around missing exynos ioctls on earlier kernels.

This patch fixes these build errors with Linux 3.4 and earlier.

  CC ioctls/drm.o
ioctls/drm.c:179: error: ‘DRM_IOCTL_EXYNOS_GEM_GET’ undeclared here (not in a function)
ioctls/drm.c:181: error: ‘DRM_IOCTL_EXYNOS_G2D_GET_VER’ undeclared here (not in a function)
ioctls/drm.c:182: error: ‘DRM_IOCTL_EXYNOS_G2D_SET_CMDLIST’ undeclared here (not in a function)
ioctls/drm.c:183: error: ‘DRM_IOCTL_EXYNOS_G2D_EXEC’ undeclared here (not in a function)
make: *** [ioctls/drm.o] Error 1

Signed-off-by: Vinson Lee <vlee@twitter.com>
ioctls/drm.c