backlight: tegra_pwm: Add backlight type
Dan Willemsen [Wed, 10 Aug 2011 04:50:03 +0000 (21:50 -0700)]
Original-Change-Id: I43036163f62c33f29c915fd4fe37ea10f71dfb55
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: Re7c21b8cced25ed6e4038929a0f80892ec91b9a1

drivers/video/backlight/tegra_pwm_bl.c

index 77d5075..31b021c 100644 (file)
@@ -101,6 +101,7 @@ static int tegra_pwm_backlight_probe(struct platform_device *pdev)
        tbl->params.clk_select = data->clk_select;
 
        memset(&props, 0, sizeof(struct backlight_properties));
+       props.type = BACKLIGHT_RAW;
        props.max_brightness = data->max_brightness;
        bl = backlight_device_register(dev_name(&pdev->dev), &pdev->dev, tbl,
                        &tegra_pwm_backlight_ops, &props);