Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185430
b: refs/heads/master
c: cedf8a7
h: refs/heads/master
v: v3
  • Loading branch information
Bruno Prémont authored and Greg Kroah-Hartman committed Mar 2, 2010
1 parent fbc3cbc commit 8c0d4ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 124d255382ddd37ffa920e9f5183efa54bbfe4f2
refs/heads/master: cedf8a78421943441b9011ce7bcdab55f07d2ea6
3 changes: 2 additions & 1 deletion trunk/drivers/usb/misc/appledisplay.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ static int appledisplay_bl_get_brightness(struct backlight_device *bd)
return pdata->msgdata[1];
}

static struct backlight_ops appledisplay_bl_data = {
static const struct backlight_ops appledisplay_bl_data = {
.get_brightness = appledisplay_bl_get_brightness,
.update_status = appledisplay_bl_update_status,
};
Expand Down Expand Up @@ -283,6 +283,7 @@ static int appledisplay_probe(struct usb_interface *iface,
&appledisplay_bl_data);
if (IS_ERR(pdata->bd)) {
dev_err(&iface->dev, "Backlight registration failed\n");
retval = PTR_ERR(pdata->bd);
goto error;
}

Expand Down

0 comments on commit 8c0d4ac

Please sign in to comment.