diff options
Diffstat (limited to 'drivers/video/sh_mobile_lcdcfb.c')
-rw-r--r-- | drivers/video/sh_mobile_lcdcfb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/sh_mobile_lcdcfb.c b/drivers/video/sh_mobile_lcdcfb.c index aa4fe993b6da..404c03b4b7c7 100644 --- a/drivers/video/sh_mobile_lcdcfb.c +++ b/drivers/video/sh_mobile_lcdcfb.c | |||
@@ -610,7 +610,8 @@ static int sh_mobile_lcdc_start(struct sh_mobile_lcdc_priv *priv) | |||
610 | pitch = ch->info->fix.line_length; | 610 | pitch = ch->info->fix.line_length; |
611 | 611 | ||
612 | /* test if we can enable meram */ | 612 | /* test if we can enable meram */ |
613 | if (ch->cfg.meram_cfg && priv->meram_dev) { | 613 | if (ch->cfg.meram_cfg && priv->meram_dev && |
614 | priv->meram_dev->ops) { | ||
614 | struct sh_mobile_meram_cfg *cfg; | 615 | struct sh_mobile_meram_cfg *cfg; |
615 | struct sh_mobile_meram_info *mdev; | 616 | struct sh_mobile_meram_info *mdev; |
616 | unsigned long icb_addr_y, icb_addr_c; | 617 | unsigned long icb_addr_y, icb_addr_c; |