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