summaryrefslogtreecommitdiff
path: root/wct4xxp
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-01-27 16:14:54 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-01-27 16:14:54 +0000
commit39b12e72d67dac8ce6558c0d8b02e3cbbf9aee94 (patch)
tree9d8f91934595500265bf671cd1829f0eeab1f7b7 /wct4xxp
parentd4b6efb15dab0181b17fc9b53816be109ed9f9e8 (diff)
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
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 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: