diff options
Diffstat (limited to 'firmware/backlight.c')
-rw-r--r-- | firmware/backlight.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/backlight.c b/firmware/backlight.c index 740acd1d82..b475c61fc0 100644 --- a/firmware/backlight.c +++ b/firmware/backlight.c | |||
@@ -242,6 +242,8 @@ static void __backlight_on(void) | |||
242 | 242 | ||
243 | /* set port L07 on */ | 243 | /* set port L07 on */ |
244 | outl(((0x100 | 1) << 7), 0x6000d12c); | 244 | outl(((0x100 | 1) << 7), 0x6000d12c); |
245 | #elif CONFIG_BACKLIGHT==BL_IRIVER_IFP7XX | ||
246 | GPIO3_SET = 1; | ||
245 | #endif | 247 | #endif |
246 | } | 248 | } |
247 | 249 | ||
@@ -279,6 +281,8 @@ static void __backlight_off(void) | |||
279 | 281 | ||
280 | /* set port L07 off */ | 282 | /* set port L07 off */ |
281 | outl(((0x100 | 0) << 7), 0x6000d12c); | 283 | outl(((0x100 | 0) << 7), 0x6000d12c); |
284 | #elif CONFIG_BACKLIGHT==BL_IRIVER_IFP7XX | ||
285 | GPIO3_CLR = 1; | ||
282 | #endif | 286 | #endif |
283 | } | 287 | } |
284 | 288 | ||