]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/gpu/drm/arm/malidp_drv.c
drm: define drm_compat_ioctl NULL on CONFIG_COMPAT=n and reduce #ifdefs
[karo-tx-linux.git] / drivers / gpu / drm / arm / malidp_drv.c
index 9f4739452a2509950f68a10d1b5a567f9b931298..d53b625b14feb467a5c9b0e48049d4206ea41949 100644 (file)
@@ -197,9 +197,7 @@ static const struct file_operations fops = {
        .open = drm_open,
        .release = drm_release,
        .unlocked_ioctl = drm_ioctl,
-#ifdef CONFIG_COMPAT
        .compat_ioctl = drm_compat_ioctl,
-#endif
        .poll = drm_poll,
        .read = drm_read,
        .llseek = noop_llseek,