summary refs log tree commit diff
path: root/include/drm/drm_ioctl.h
diff options
context:
space:
mode:
authorDesmond Cheong Zhi Xi <desmondcheongzx@gmail.com>2021-08-13 16:54:50 +0800
committerDaniel Vetter <daniel.vetter@ffwll.ch>2021-08-13 17:50:48 +0200
commit7b812171257d4b8d9ef69321134c72b647e1ce9c (patch)
treec304a168b1afbff6b0470156e48e48683518f736 /include/drm/drm_ioctl.h
parentebd8cbf1fb968cb1c3e3cf7b26dfe2c1f201bdf0 (diff)
downloadlinux-7b812171257d4b8d9ef69321134c72b647e1ce9c.tar.gz
drm: unexport drm_ioctl_permit
Since the last user of drm_ioctl_permit was removed, and it's now only
used in drm_ioctl.c, unexport the symbol.

Reported-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Desmond Cheong Zhi Xi <desmondcheongzx@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210813085450.32494-3-desmondcheongzx@gmail.com
Diffstat (limited to 'include/drm/drm_ioctl.h')
-rw-r--r--include/drm/drm_ioctl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/drm/drm_ioctl.h b/include/drm/drm_ioctl.h
index afb27cb6a7bd..6ed61c371f6c 100644
--- a/include/drm/drm_ioctl.h
+++ b/include/drm/drm_ioctl.h
@@ -167,7 +167,6 @@ struct drm_ioctl_desc {
 		.name = #ioctl						\
 	}
 
-int drm_ioctl_permit(u32 flags, struct drm_file *file_priv);
 long drm_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
 long drm_ioctl_kernel(struct file *, drm_ioctl_t, void *, u32);
 #ifdef CONFIG_COMPAT