diff options
| -rw-r--r-- | arch/arm/plat-omap/include/plat/board.h | 1 | ||||
| -rw-r--r-- | drivers/video/backlight/omap1_bl.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/plat-omap/include/plat/board.h b/arch/arm/plat-omap/include/plat/board.h index 376ce18216ff..5cd622039da0 100644 --- a/arch/arm/plat-omap/include/plat/board.h +++ b/arch/arm/plat-omap/include/plat/board.h | |||
| @@ -99,7 +99,6 @@ struct fb_info; | |||
| 99 | struct omap_backlight_config { | 99 | struct omap_backlight_config { |
| 100 | int default_intensity; | 100 | int default_intensity; |
| 101 | int (*set_power)(struct device *dev, int state); | 101 | int (*set_power)(struct device *dev, int state); |
| 102 | int (*check_fb)(struct fb_info *fb); | ||
| 103 | }; | 102 | }; |
| 104 | 103 | ||
| 105 | struct omap_fbmem_config { | 104 | struct omap_fbmem_config { |
diff --git a/drivers/video/backlight/omap1_bl.c b/drivers/video/backlight/omap1_bl.c index 409ca9643528..a3a7f8938175 100644 --- a/drivers/video/backlight/omap1_bl.c +++ b/drivers/video/backlight/omap1_bl.c | |||
| @@ -139,8 +139,6 @@ static int omapbl_probe(struct platform_device *pdev) | |||
| 139 | if (!pdata) | 139 | if (!pdata) |
| 140 | return -ENXIO; | 140 | return -ENXIO; |
| 141 | 141 | ||
| 142 | omapbl_ops.check_fb = pdata->check_fb; | ||
| 143 | |||
| 144 | bl = kzalloc(sizeof(struct omap_backlight), GFP_KERNEL); | 142 | bl = kzalloc(sizeof(struct omap_backlight), GFP_KERNEL); |
| 145 | if (unlikely(!bl)) | 143 | if (unlikely(!bl)) |
| 146 | return -ENOMEM; | 144 | return -ENOMEM; |
