aboutsummaryrefslogtreecommitdiff
path: root/include/linux/leds-mt65xx.h
blob: 5025260c03bf8c6870147fbb769999d37976bf87 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/******************************************************************************
 * mt65xx_leds.h
 *
 * Copyright 2010 MediaTek Co.,Ltd.
 *
 ******************************************************************************/
#ifndef _MT65XX_LEDS_H
#define _MT65XX_LEDS_H

#include <linux/leds.h>
#include <cust_leds.h>

#ifdef CONFIG_MTK_LEDS
extern int mt65xx_leds_brightness_set(enum mt65xx_led_type type, enum led_brightness value);
extern int backlight_brightness_set(int level);
#else
static inline int mt65xx_leds_brightness_set(enum mt65xx_led_type type, enum led_brightness value){return 0;}
static inline int backlight_brightness_set(int level){return 0;}
#endif

#endif