[zaptel-commits] kpfleming: branch 1.2 r1987 - /branches/1.2/wct4xxp/base.c

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Sat Jan 27 09:14:56 MST 2007


Author: kpfleming
Date: Sat Jan 27 10:14:54 2007
New Revision: 1987

URL: http://svn.digium.com/view/zaptel?view=rev&rev=1987
Log:
properly reference the size symbol produced by objcopy

Modified:
    branches/1.2/wct4xxp/base.c

Modified: branches/1.2/wct4xxp/base.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/wct4xxp/base.c?view=diff&rev=1987&r1=1986&r2=1987
==============================================================================
--- branches/1.2/wct4xxp/base.c (original)
+++ branches/1.2/wct4xxp/base.c Sat Jan 27 10:14:54 2007
@@ -2679,8 +2679,8 @@
 	struct firmware embedded_firmware;
 	const struct firmware *firmware = &embedded_firmware;
 #if !defined(HOTPLUG_FIRMWARE)
-	extern const u32 _binary_OCT6114_64D_ima_size;
-	extern const u32 _binary_OCT6114_128D_ima_size;
+	extern const u32 *_binary_OCT6114_64D_ima_size;
+	extern const u32 *_binary_OCT6114_128D_ima_size;
 	extern u8 _binary_OCT6114_64D_ima_start[];
 	extern u8 _binary_OCT6114_128D_ima_start[];
 #endif
@@ -2719,7 +2719,7 @@
 		}
 #else
 		embedded_firmware.data = _binary_OCT6114_64D_ima_start;
-		embedded_firmware.size = _binary_OCT6114_64D_ima_size;
+		embedded_firmware.size = *_binary_OCT6114_64D_ima_size;
 #endif
 		break;
 	case 128:
@@ -2731,7 +2731,7 @@
 		}
 #else
 		embedded_firmware.data = _binary_OCT6114_128D_ima_start;
-		embedded_firmware.size = _binary_OCT6114_128D_ima_size;
+		embedded_firmware.size = *_binary_OCT6114_128D_ima_size;
 #endif
 		break;
 	default:



More information about the zaptel-commits mailing list