summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nouveau_abi16.c
diff options
context:
space:
mode:
authorSean Paul <seanpaul@chromium.org>2019-08-07 17:20:58 +0300
committerSean Paul <seanpaul@chromium.org>2019-08-07 17:45:13 +0300
commit67028421e4e5a720c6a8e2fa8e98fc2848d3b243 (patch)
treeb347621d1982d280759ce6411f72c912a99f1d22 /drivers/gpu/drm/nouveau/nouveau_abi16.c
parent7d5000d7d21dd5d58ddbb75c534090d100d463a0 (diff)
downloadlinux-67028421e4e5a720c6a8e2fa8e98fc2848d3b243.tar.xz
Revert "drm/nouveau: remove open-coded drm_invalid_op()"
This reverts commit ccdae42575695ab442941310bd67c7ed1714e273. Mandatory review was missing from this patch. Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Emil Velikov <emil.velikov@collabora.com> Signed-off-by: Sean Paul <seanpaul@chromium.org> Link: https://patchwork.freedesktop.org/patch/msgid/20190807142101.251400-6-sean@poorly.run
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_abi16.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_abi16.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_abi16.c b/drivers/gpu/drm/nouveau/nouveau_abi16.c
index e2bae1424502..94387e62b338 100644
--- a/drivers/gpu/drm/nouveau/nouveau_abi16.c
+++ b/drivers/gpu/drm/nouveau/nouveau_abi16.c
@@ -245,6 +245,12 @@ nouveau_abi16_ioctl_getparam(ABI16_IOCTL_ARGS)
}
int
+nouveau_abi16_ioctl_setparam(ABI16_IOCTL_ARGS)
+{
+ return -EINVAL;
+}
+
+int
nouveau_abi16_ioctl_channel_alloc(ABI16_IOCTL_ARGS)
{
struct drm_nouveau_channel_alloc *init = data;