1cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel/* 2cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel * Copyright (c) 2017, The Linux Foundation. All rights reserved. 3cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel * 4cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel * Redistribution and use in source and binary forms, with or without 5cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel * modification, are permitted provided that the following conditions are 6cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel * met: 7cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel * * Redistributions of source code must retain the above copyright 8cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel * notice, this list of conditions and the following disclaimer. 9cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel * * Redistributions in binary form must reproduce the above 10cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel * copyright notice, this list of conditions and the following 11cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel * disclaimer in the documentation and/or other materials provided 12cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel * with the distribution. 13cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel * * Neither the name of The Linux Foundation nor the names of its 14cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel * contributors may be used to endorse or promote products derived 15cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel * from this software without specific prior written permission. 16cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel * 17cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED 18cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT 20cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS 21cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 24cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 25cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 26cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 27cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel */ 29cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel 30cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel#ifndef LIGHTS_PRV_H 31cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel#define LIGHTS_PRV_H 32cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel 33cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel#ifdef __cplusplus 34cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudelextern "C" { 35cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel#endif 36cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel 37cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudelextern void set_brightness_ext_init(void); 38cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudelextern int set_brightness_ext_level(int level); 39cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel 40cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel#ifdef __cplusplus 41cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel} 42cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel#endif 43cd66324640d3290ee75bf5bf41826fbcbc55a13aThierry Strudel#endif 44