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 6629d1c0abf9bec84afc4327da14f7a157f2f16f
Author: Christopher Collins <ccoll...@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
ccoll...@apache.org.

Reply via email to