summaryrefslogtreecommitdiffstats
path: root/api/api_storage.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-02-29 15:25:40 -0700
committerSimon Glass <sjg@chromium.org>2016-03-14 15:34:50 -0600
commit5ec4f1a5f35dc71881f88c84176c568308133640 (patch)
tree568dfc65217bd2241301461b1dafd0c2929479a4 /api/api_storage.c
parent1a73661bc7a7ad2d741f7d7519872ca18231598c (diff)
downloadtalos-obmc-uboot-5ec4f1a5f35dc71881f88c84176c568308133640.tar.gz
talos-obmc-uboot-5ec4f1a5f35dc71881f88c84176c568308133640.zip
dm: blk: Convert interface type to an enum
Since these are sequentially numbered it makes sense to use an enum. It avoids having to maintain the maximum value, and provides a type we can use if it is useful. In fact the maximum value is not used. Rename it to COUNT, since MAX suggests it is the maximum valid value, but it is not. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'api/api_storage.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud