From dd93a8e9e688f4c448092a275bf7db3e16d21c6f Mon Sep 17 00:00:00 2001 From: Patrick Delaunay Date: Fri, 28 Oct 2016 09:44:26 +0200 Subject: [PATCH] dfu: align array in dfu_get_dev_type with enum dfu_device_type Signed-off-by: Patrick Delaunay --- drivers/dfu/dfu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c index 20dfcbbf18..8dacc1a6d1 100644 --- a/drivers/dfu/dfu.c +++ b/drivers/dfu/dfu.c @@ -482,7 +482,7 @@ int dfu_config_entities(char *env, char *interface, char *devstr) const char *dfu_get_dev_type(enum dfu_device_type t) { - const char *dev_t[] = {NULL, "eMMC", "OneNAND", "NAND", "RAM" }; + const char *dev_t[] = {NULL, "eMMC", "OneNAND", "NAND", "RAM", "SF" }; return dev_t[t]; } -- 2.39.5