]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/gpu/drm/ast/ast_drv.c
drm: define drm_compat_ioctl NULL on CONFIG_COMPAT=n and reduce #ifdefs
[karo-tx-linux.git] / drivers / gpu / drm / ast / ast_drv.c
index f54afd2113a9700d38fc2978055438e9013e8843..fd7c9eec92e4d75eba8aeb935d6dbcd2e122c1f7 100644 (file)
@@ -188,9 +188,7 @@ static const struct file_operations ast_fops = {
        .unlocked_ioctl = drm_ioctl,
        .mmap = ast_mmap,
        .poll = drm_poll,
-#ifdef CONFIG_COMPAT
        .compat_ioctl = drm_compat_ioctl,
-#endif
        .read = drm_read,
 };