]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - ipc/ipcdev.git/blobdiff - packages/ti/ipc/remoteproc/Resource.c
BIOS: Enable xdc__strict and fix issues
[ipc/ipcdev.git] / packages / ti / ipc / remoteproc / Resource.c
index 34603fc1d7f333afbb60ab4028908d39ab04c675..69accb6e1b62d2cbbe344db7e5d2517a9ab068ea 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011-2013, Texas Instruments Incorporated
+ * Copyright (c) 2011-2014, Texas Instruments Incorporated
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -178,7 +178,7 @@ Int Resource_virtToPhys(UInt32 va, UInt32 *pa)
     UInt32 offset;
     Resource_MemEntry *entry;
 
-    *pa = NULL;
+    *pa = 0;
 
     for (i = 0; i < module->pTable->num; i++) {
         entry = Resource_getMemEntry(i);
@@ -201,7 +201,7 @@ Int Resource_physToVirt(UInt32 pa, UInt32 *va)
     UInt32 offset;
     Resource_MemEntry *entry;
 
-    *va = NULL;
+    *va = 0;
 
     for (i = 0; i < module->pTable->num; i++) {
         entry = Resource_getMemEntry(i);