summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wct4xxp/base.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/wct4xxp/base.c b/wct4xxp/base.c
index 7adab35..1432493 100644
--- a/wct4xxp/base.c
+++ b/wct4xxp/base.c
@@ -3102,8 +3102,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
@@ -3142,7 +3142,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:
@@ -3154,7 +3154,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: