diff options
Diffstat (limited to 'drivers/video/backlight/cr_bllcd.c')
| -rw-r--r-- | drivers/video/backlight/cr_bllcd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/backlight/cr_bllcd.c b/drivers/video/backlight/cr_bllcd.c index b9fe62b475c..da86db4374a 100644 --- a/drivers/video/backlight/cr_bllcd.c +++ b/drivers/video/backlight/cr_bllcd.c | |||
| @@ -108,7 +108,7 @@ static int cr_backlight_get_intensity(struct backlight_device *bd) | |||
| 108 | return intensity; | 108 | return intensity; |
| 109 | } | 109 | } |
| 110 | 110 | ||
| 111 | static struct backlight_ops cr_backlight_ops = { | 111 | static const struct backlight_ops cr_backlight_ops = { |
| 112 | .get_brightness = cr_backlight_get_intensity, | 112 | .get_brightness = cr_backlight_get_intensity, |
| 113 | .update_status = cr_backlight_set_intensity, | 113 | .update_status = cr_backlight_set_intensity, |
| 114 | }; | 114 | }; |
| @@ -201,7 +201,7 @@ static int cr_backlight_probe(struct platform_device *pdev) | |||
| 201 | if (IS_ERR(ldp)) { | 201 | if (IS_ERR(ldp)) { |
| 202 | backlight_device_unregister(bdp); | 202 | backlight_device_unregister(bdp); |
| 203 | pci_dev_put(lpc_dev); | 203 | pci_dev_put(lpc_dev); |
| 204 | return PTR_ERR(bdp); | 204 | return PTR_ERR(ldp); |
| 205 | } | 205 | } |
| 206 | 206 | ||
| 207 | pci_read_config_dword(lpc_dev, CRVML_REG_GPIOBAR, | 207 | pci_read_config_dword(lpc_dev, CRVML_REG_GPIOBAR, |
