fix compilation

Change-Id: I95c72aba7ec2822531ac57aefc7990b49059c577
This commit is contained in:
Andre Heider 2018-02-17 07:08:48 +01:00
parent 3ce822c6b4
commit f426d46a0e

View file

@ -146,8 +146,10 @@ int tegra210_run_mtc(void)
struct cbfsf mtc_file;
void * const mtc = (void *)(uintptr_t)CONFIG_MTC_ADDRESS;
#if !IS_ENABLED(CONFIG_HAVE_MTC_TABLES)
void *dvfs_table;
size_t (*mtc_fw)(void **dvfs_table) = (void *)mtc;
#endif
if (cbfs_boot_locate(&mtc_file, "tegra_mtc.bin", NULL)) {
printk(BIOS_ERR, "MTC file not found: tegra_mtc.bin\n");