summaryrefslogtreecommitdiffstats
path: root/drivers/video/rave-sp-backlight.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/rave-sp-backlight.c')
-rw-r--r--drivers/video/rave-sp-backlight.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/rave-sp-backlight.c b/drivers/video/rave-sp-backlight.c
index 88ec86e..3a20def 100644
--- a/drivers/video/rave-sp-backlight.c
+++ b/drivers/video/rave-sp-backlight.c
@@ -46,6 +46,7 @@ static int rave_sp_backlight_probe(struct device_d *dev)
bd = xzalloc(sizeof(*bd));
bd->dev.priv = dev->parent->priv;
+ bd->dev.parent = dev;
bd->brightness_default = 50;
bd->brightness_max = 100;
bd->brightness_set = rave_sp_backlight_set;