exynos5420: Fix build warning
Fix "set but not used" variable warning with gcc 4.7.3 Change-Id: Ia27291ecb4f993c4ba6f29b134167dc23a449bf5 Signed-off-by: Allen Martin <amartin@nvidia.com> Reviewed-on: http://review.coreboot.org/3949 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Gabe Black <gabeblack@chromium.org>
This commit is contained in:
parent
616e6fb252
commit
681d17e0bf
|
@ -64,7 +64,6 @@ static void set_cpu_id(void)
|
|||
*/
|
||||
static void exynos_displayport_init(device_t dev)
|
||||
{
|
||||
int ret;
|
||||
struct cpu_samsung_exynos5420_config *conf = dev->chip_info;
|
||||
/* put these on the stack. If, at some point, we want to move
|
||||
* this code to a pre-ram stage, it will be much easier.
|
||||
|
@ -117,7 +116,7 @@ static void exynos_displayport_init(device_t dev)
|
|||
mmio_resource(dev, 1, lcdbase/KiB, (fb_size + KiB - 1)/KiB);
|
||||
printk(BIOS_DEBUG,
|
||||
"Initializing Exynos VGA, base %p\n", (void *)lcdbase);
|
||||
ret = lcd_ctrl_init(fb_size, &panel, (void *)lcdbase);
|
||||
lcd_ctrl_init(fb_size, &panel, (void *)lcdbase);
|
||||
}
|
||||
|
||||
static void cpu_enable(device_t dev)
|
||||
|
|
Loading…
Reference in New Issue