summaryrefslogtreecommitdiff
path: root/qemu-arm
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-08-21 21:34:23 +1000
committerDamien George <damien.p.george@gmail.com>2017-08-21 21:34:23 +1000
commit4ec803a42ae3080d4af959c7c2edf81e57f79377 (patch)
tree9ca889389b8087b3474d8a9eb855963a3ca07859 /qemu-arm
parent4c736ea8fc046dc564f9167967a5dd92f07ed002 (diff)
all: Make static dicts use mp_rom_map_elem_t type and MP_ROM_xxx macros.
Diffstat (limited to 'qemu-arm')
-rw-r--r--qemu-arm/mpconfigport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-arm/mpconfigport.h b/qemu-arm/mpconfigport.h
index 87e537af7..a12165a92 100644
--- a/qemu-arm/mpconfigport.h
+++ b/qemu-arm/mpconfigport.h
@@ -57,7 +57,7 @@ typedef long mp_off_t;
// extra built in names to add to the global namespace
#define MICROPY_PORT_BUILTINS \
- { MP_OBJ_NEW_QSTR(MP_QSTR_open), (mp_obj_t)&mp_builtin_open_obj },
+ { MP_ROM_QSTR(MP_QSTR_open), MP_ROM_PTR(&mp_builtin_open_obj) },
// extra built-in modules to add to the list of known ones
extern const struct _mp_obj_module_t mp_module_uos;