[zaptel-commits] kpfleming: branch mogorman/zaptel-1.2-transcoder
r1991 - /team/mogorman/zapte...
zaptel-commits at lists.digium.com
zaptel-commits at lists.digium.com
Sat Jan 27 09:22:49 MST 2007
Author: kpfleming
Date: Sat Jan 27 10:22:48 2007
New Revision: 1991
URL: http://svn.digium.com/view/zaptel?view=rev&rev=1991
Log:
use proper firmware size method for non-hotplug firmware
Modified:
team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c
Modified: team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c
URL: http://svn.digium.com/view/zaptel/team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c?view=diff&rev=1991&r1=1990&r2=1991
==============================================================================
--- team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c (original)
+++ team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c Sat Jan 27 10:22:48 2007
@@ -61,7 +61,7 @@
static const char *tc400m_firmware = "tc400m-firmware.bin";
#else
extern u8 _binary_tc400m_firmware_bin_start[];
-extern const size_t _binary_tc400m_firmware_bin_size;
+extern const size_t *_binary_tc400m_firmware_bin_size;
#endif
static struct pci_driver driver;
@@ -1433,7 +1433,7 @@
}
#else
embedded_firmware.data = _binary_tc400m_firmware_bin_start;
- embedded_firmware.size = _binary_tc400m_firmware_bin_size;
+ embedded_firmware.size = *_binary_tc400m_firmware_bin_size;
#endif
firmware_ver = firmware->data[0];
More information about the zaptel-commits
mailing list