You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2018/02/13 02:22:14 UTC
[mynewt-mcumgr] 30/42: zephyr img_mgmt: Use `FLASH_DEV_NAME`
This is an automated email from the ASF dual-hosted git repository.
ccollins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-mcumgr.git
commit fec54445ad34a682eea741d6ff45555d231f7d07
Author: Christopher Collins <cc...@apache.org>
AuthorDate: Thu Feb 8 14:33:40 2018 -0800
zephyr img_mgmt: Use `FLASH_DEV_NAME`
This used to be `FLASH_DRIVER_NAME`, but it changed in zephyr.
---
cmd/img_mgmt/port/zephyr/src/zephyr_img_mgmt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/img_mgmt/port/zephyr/src/zephyr_img_mgmt.c b/cmd/img_mgmt/port/zephyr/src/zephyr_img_mgmt.c
index e17952b..143b1e0 100644
--- a/cmd/img_mgmt/port/zephyr/src/zephyr_img_mgmt.c
+++ b/cmd/img_mgmt/port/zephyr/src/zephyr_img_mgmt.c
@@ -218,7 +218,7 @@ zephyr_img_mgmt_init(struct device *dev)
{
ARG_UNUSED(dev);
- zephyr_img_mgmt_flash_dev = device_get_binding(FLASH_DRIVER_NAME);
+ zephyr_img_mgmt_flash_dev = device_get_binding(FLASH_DEV_NAME);
if (zephyr_img_mgmt_flash_dev == NULL) {
return -ENODEV;
}
--
To stop receiving notification emails like this one, please contact
ccollins@apache.org.