From 39b12e72d67dac8ce6558c0d8b02e3cbbf9aee94 Mon Sep 17 00:00:00 2001 From: kpfleming Date: Sat, 27 Jan 2007 16:14:54 +0000 Subject: properly reference the size symbol produced by objcopy git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1987 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- wct4xxp/base.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'wct4xxp') diff --git a/wct4xxp/base.c b/wct4xxp/base.c index 2a835d2..2128824 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 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 @@ static void t4_vpm450_init(struct t4 *wc) } #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 @@ static void t4_vpm450_init(struct t4 *wc) } #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: -- cgit v1.2.3