Date:2009-08-23 19:55:35 (3 years 9 months ago)
Author:Xiangfu Liu
Commit:9f49ec4ddb2dbb474151891dcccd2384eee7e93b
Message:fix a redefine warning, GPIO_PWM defined in board-qi_lb60.c file

Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
Files: target/linux/xburst/files-2.6.31/drivers/video/jzlcd.h (1 diff)

Change Details

target/linux/xburst/files-2.6.31/drivers/video/jzlcd.h
656656/*#if defined(CONFIG_JZ4740_LEO) || defined(CONFIG_JZ4740_PAVO)*/
657657#if defined(CONFIG_SOC_JZ4740)
658658#if defined(CONFIG_JZ4740_PAVO) || defined(CONFIG_JZ4740_LYRA)
659#define GPIO_PWM 123 /* GP_D27 */
660659#define PWM_CHN 4 /* pwm channel */
661660#define PWM_FULL 101
662661/* 100 level: 0,1,...,100 */
663662#define __lcd_set_backlight_level(n)\
664663do { \
665__gpio_as_output(32*3+27); \
666__gpio_set_pin(32*3+27); \
664__gpio_as_output(GPIO_PWM); \
665__gpio_set_pin(GPIO_PWM); \
667666} while (0)
668667
669668#define __lcd_close_backlight() \

Archive Download the corresponding diff file



interactive