commit | 9eb430d1aef5567c97150f782e94e68858349c89 | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay73@gmail.com> | Fri Oct 28 09:44:26 2016 +0200 |
committer | Marek Vasut <marex@denx.de> | Thu Nov 03 11:55:25 2016 +0100 |
tree | 9ff5c07d97632c6ba2fdf94c706f0997c5af270b | |
parent | c809a9788939f9183cefe65da985e1a706e02d3a [diff] |
dfu: align array in dfu_get_dev_type with enum dfu_device_type Signed-off-by: Patrick Delaunay <patrick.delaunay73@gmail.com>
diff --git a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c index 20dfcbb..8dacc1a 100644 --- a/drivers/dfu/dfu.c +++ b/drivers/dfu/dfu.c
@@ -482,7 +482,7 @@ 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]; }