[svn-commits] kpfleming: trunk r2040 - in /trunk: ./ wct4xxp/base.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Tue Jan 30 18:35:27 MST 2007


Author: kpfleming
Date: Tue Jan 30 19:35:26 2007
New Revision: 2040

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2040
Log:
Merged revisions 2039 via svnmerge from 
https://origsvn.digium.com/svn/zaptel/branches/1.4

................
r2039 | kpfleming | 2007-01-30 19:34:25 -0600 (Tue, 30 Jan 2007) | 10 lines

Merged revisions 2038 via svnmerge from 
https://origsvn.digium.com/svn/zaptel/branches/1.2

........
r2038 | kpfleming | 2007-01-30 19:33:25 -0600 (Tue, 30 Jan 2007) | 2 lines

final fix for non-hotplug firmware loading

........

................

Modified:
    trunk/   (props changed)
    trunk/wct4xxp/base.c

Propchange: trunk/
------------------------------------------------------------------------------
--- branch-1.4-merged (original)
+++ branch-1.4-merged Tue Jan 30 19:35:26 2007
@@ -1,1 +1,1 @@
-/branches/1.4:1-1471,1490,1500,1507,1520,1528,1530,1536,1543,1547,1568,1574,1576,1601,1611,1615,1642,1661,1664,1687,1698,1701,1767,1774,1820,1828,1836,1878,1887,1892,1899,1913,1921,1924,1937,1944,1954,1988,1998
+/branches/1.4:1-1471,1490,1500,1507,1520,1528,1530,1536,1543,1547,1568,1574,1576,1601,1611,1615,1642,1661,1664,1687,1698,1701,1767,1774,1820,1828,1836,1878,1887,1892,1899,1913,1921,1924,1937,1944,1954,1988,1998,2039

Modified: trunk/wct4xxp/base.c
URL: http://svn.digium.com/view/zaptel/trunk/wct4xxp/base.c?view=diff&rev=2040&r1=2039&r2=2040
==============================================================================
--- trunk/wct4xxp/base.c (original)
+++ trunk/wct4xxp/base.c Tue Jan 30 19:35:26 2007
@@ -3107,8 +3107,8 @@
 	struct firmware embedded_firmware;
 	const struct firmware *firmware = &embedded_firmware;
 #if !defined(HOTPLUG_FIRMWARE)
-	extern void *_binary_OCT6114_64D_ima_size;
-	extern void *_binary_OCT6114_128D_ima_size;
+	extern void _binary_OCT6114_64D_ima_size;
+	extern void _binary_OCT6114_128D_ima_size;
 	extern u8 _binary_OCT6114_64D_ima_start[];
 	extern u8 _binary_OCT6114_128D_ima_start[];
 #endif
@@ -3153,7 +3153,7 @@
 		   is to take its address, so we define it as a pointer and
 		   then cast that value to the proper type.
 		*/
-		embedded_firmware.size = (size_t) _binary_OCT6114_64D_ima_size;
+		embedded_firmware.size = (size_t) &_binary_OCT6114_64D_ima_size;
 #endif
 		break;
 	case 128:
@@ -3171,7 +3171,7 @@
 		   is to take its address, so we define it as a pointer and
 		   then cast that value to the proper type.
 		*/
-		embedded_firmware.size = (size_t) _binary_OCT6114_128D_ima_size;
+		embedded_firmware.size = (size_t) &_binary_OCT6114_128D_ima_size;
 #endif
 		break;
 	default:



More information about the svn-commits mailing list