image: Add a name for invalid types
authorSimon Glass <sjg@chromium.org>
Thu, 30 Jun 2016 16:52:15 +0000 (10:52 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 14 Jul 2016 22:22:29 +0000 (18:22 -0400)
commit30495bff35d5a5134bc182fa51728acf69420158
treef3d0781005815e4242331f2f79d3ddb5bd7f7a63
parent56d7ab74767c60c4ec48061864df0c421e4799e7
image: Add a name for invalid types

At present the name is NULL, which prevents qsort() fromp being used. Use
the name "invalid" instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/image.c