1*fa45715fSchristos /* $NetBSD: drm_stub.c,v 1.1 2019/11/16 04:10:33 christos Exp $ */
2*fa45715fSchristos
3*fa45715fSchristos /*-
4*fa45715fSchristos * Copyright (c) 2019 The NetBSD Foundation, Inc.
5*fa45715fSchristos * All rights reserved.
6*fa45715fSchristos *
7*fa45715fSchristos * This code is derived from software contributed to The NetBSD Foundation
8*fa45715fSchristos * by Christos Zoulas.
9*fa45715fSchristos *
10*fa45715fSchristos * Redistribution and use in source and binary forms, with or without
11*fa45715fSchristos * modification, are permitted provided that the following conditions
12*fa45715fSchristos * are met:
13*fa45715fSchristos * 1. Redistributions of source code must retain the above copyright
14*fa45715fSchristos * notice, this list of conditions and the following disclaimer.
15*fa45715fSchristos * 2. Redistributions in binary form must reproduce the above copyright
16*fa45715fSchristos * notice, this list of conditions and the following disclaimer in the
17*fa45715fSchristos * documentation and/or other materials provided with the distribution.
18*fa45715fSchristos *
19*fa45715fSchristos * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20*fa45715fSchristos * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21*fa45715fSchristos * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22*fa45715fSchristos * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
23*fa45715fSchristos * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24*fa45715fSchristos * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25*fa45715fSchristos * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26*fa45715fSchristos * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27*fa45715fSchristos * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28*fa45715fSchristos * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29*fa45715fSchristos * POSSIBILITY OF SUCH DAMAGE.
30*fa45715fSchristos */
31*fa45715fSchristos #include <sys/cdefs.h>
32*fa45715fSchristos __KERNEL_RCSID(0, "$NetBSD: drm_stub.c,v 1.1 2019/11/16 04:10:33 christos Exp $");
33*fa45715fSchristos
34*fa45715fSchristos #include <sys/errno.h>
35*fa45715fSchristos
36*fa45715fSchristos int drm_ioctl(int, unsigned long, ...);
37*fa45715fSchristos
38*fa45715fSchristos int
drm_ioctl(int fd,unsigned long cmd,...)39*fa45715fSchristos drm_ioctl(int fd, unsigned long cmd, ...) {
40*fa45715fSchristos return ENOSYS;
41*fa45715fSchristos }
42