summaryrefslogtreecommitdiff
path: root/wct4xxp
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-01-31 01:33:25 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-01-31 01:33:25 +0000
commit6bea98a5c2eb5aa88ee5f0578c93ee38fa7b810a (patch)
treed97bfbf9ed3a1417b06605993bd00333929b9c0f /wct4xxp
parentfa59b936c5bfdc1de73cf90aed8a43ba2313f635 (diff)
final fix for non-hotplug firmware loading
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2038 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wct4xxp')
-rw-r--r--wct4xxp/base.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/wct4xxp/base.c b/wct4xxp/base.c
index 533a651..b75d009 100644
--- a/wct4xxp/base.c
+++ b/wct4xxp/base.c
@@ -2679,8 +2679,8 @@ static void t4_vpm450_init(struct t4 *wc)
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
@@ -2725,7 +2725,7 @@ static void t4_vpm450_init(struct t4 *wc)
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:
@@ -2743,7 +2743,7 @@ static void t4_vpm450_init(struct t4 *wc)
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: