path: root/api
diff options
authorSimon Glass <>2016-02-29 15:25:40 -0700
committerSimon Glass <>2016-03-14 15:34:50 -0600
commit5ec4f1a5f35dc71881f88c84176c568308133640 (patch)
tree568dfc65217bd2241301461b1dafd0c2929479a4 /api
parent1a73661bc7a7ad2d741f7d7519872ca18231598c (diff)
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 <> Tested-by: Stephen Warren <>
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud