aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/gcx/gcbv/gcmain.c')
-rw-r--r--drivers/misc/gcx/gcbv/gcmain.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/misc/gcx/gcbv/gcmain.c b/drivers/misc/gcx/gcbv/gcmain.c
index aa8be6601ba..c9d7e8feb96 100644
--- a/drivers/misc/gcx/gcbv/gcmain.c
+++ b/drivers/misc/gcx/gcbv/gcmain.c
@@ -13,9 +13,6 @@
13 */ 13 */
14 14
15#include "gcbv.h" 15#include "gcbv.h"
16#include <plat/cpu.h>
17#include <plat/omap_hwmod.h>
18
19 16
20/******************************************************************************* 17/*******************************************************************************
21 * BLTsville interface exposure. 18 * BLTsville interface exposure.
@@ -244,9 +241,10 @@ static int __init mod_init(void)
244{ 241{
245 bv_init(); 242 bv_init();
246 243
247 /* Assign BV function parameters only if SoC contains a GC core */ 244 if (gc_is_hw_present())
248 if (cpu_is_omap447x())
249 gcbv_assign(); 245 gcbv_assign();
246 else
247 GCERR("gcx hardware is not present\n");
250 248
251 return 0; 249 return 0;
252} 250}