From dba6f385b83d7f19eb1d4df12f422bab945c7f10 Mon Sep 17 00:00:00 2001 From: Guennadi Liakhovetski Date: Wed, 30 Jun 2010 09:26:35 +0000 Subject: [PATCH] fbdev: sh-mobile-lcdc: fix potential Oops in SH-Mobile LCDC framebuffer driver sh_mobile_lcdc_setup_clocks() can perform IO, therefore it has to be called after ioremap(). Also check return code of ioremap() and use resource_size() instead of open-coding it. Signed-off-by: Guennadi Liakhovetski Acked-by: Magnus Damm Signed-off-by: Paul Mundt --- Reading git-format-patch failed