locomolcd.c (2d8ad8719591fa803b0d589ed057fa46f49b7155) | locomolcd.c (bb7ca747f8d6243b3943c5b133048652020f4a50) |
---|---|
1/* 2 * Backlight control code for Sharp Zaurus SL-5500 3 * 4 * Copyright 2005 John Lenz <lenz@cs.wisc.edu> 5 * Maintainer: Pavel Machek <pavel@ucw.cz> (unless John wants to :-) 6 * GPL v2 7 * 8 * This driver assumes single CPU. That's okay, because collie is --- 170 unchanged lines hidden (view full) --- 179 * from fs_initcall, which is before locomo is activated. 180 * We need to recall poodle_lcd_power here*/ 181 if (machine_is_poodle()) 182 locomolcd_power(1); 183 184 local_irq_restore(flags); 185 186 memset(&props, 0, sizeof(struct backlight_properties)); | 1/* 2 * Backlight control code for Sharp Zaurus SL-5500 3 * 4 * Copyright 2005 John Lenz <lenz@cs.wisc.edu> 5 * Maintainer: Pavel Machek <pavel@ucw.cz> (unless John wants to :-) 6 * GPL v2 7 * 8 * This driver assumes single CPU. That's okay, because collie is --- 170 unchanged lines hidden (view full) --- 179 * from fs_initcall, which is before locomo is activated. 180 * We need to recall poodle_lcd_power here*/ 181 if (machine_is_poodle()) 182 locomolcd_power(1); 183 184 local_irq_restore(flags); 185 186 memset(&props, 0, sizeof(struct backlight_properties)); |
187 props.type = BACKLIGHT_RAW; |
|
187 props.max_brightness = 4; 188 locomolcd_bl_device = backlight_device_register("locomo-bl", 189 &ldev->dev, NULL, 190 &locomobl_data, &props); 191 192 if (IS_ERR (locomolcd_bl_device)) 193 return PTR_ERR (locomolcd_bl_device); 194 --- 57 unchanged lines hidden --- | 188 props.max_brightness = 4; 189 locomolcd_bl_device = backlight_device_register("locomo-bl", 190 &ldev->dev, NULL, 191 &locomobl_data, &props); 192 193 if (IS_ERR (locomolcd_bl_device)) 194 return PTR_ERR (locomolcd_bl_device); 195 --- 57 unchanged lines hidden --- |