/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2018 MediaTek Inc. * */ #include #include /**************************************************************************** * LED DRV functions ***************************************************************************/ #ifdef CONTROL_BL_TEMPERATURE int setMaxbrightness(int max_level, int enable); #endif extern int mt65xx_leds_brightness_set(enum mt65xx_led_type type, enum led_brightness level); #ifdef CONFIG_MTK_LEDS extern int backlight_brightness_set(int level); #else #define backlight_brightness_set(level) do { } while (0) #endif extern int disp_bls_set_max_backlight(unsigned int level);