GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / include / linux / leds-bd2802.h
blob64ce36e4090e6644425b5a4f6f887950ad5d1c27
1 /*
2 * leds-bd2802.h - RGB LED Driver
4 * Copyright (C) 2009 Samsung Electronics
5 * Kim Kyuwon <q1.kim@samsung.com>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
11 * Datasheet: http://www.rohm.com/products/databook/driver/pdf/bd2802gu-e.pdf
14 #ifndef _LEDS_BD2802_H_
15 #define _LEDS_BD2802_H_
17 struct bd2802_led_platform_data{
18 int reset_gpio;
19 u8 rgb_time;
22 #define RGB_TIME(slopedown, slopeup, waveform) \
23 ((slopedown) << 6 | (slopeup) << 4 | (waveform))
25 #endif /* _LEDS_BD2802_H_ */