commit | 6faa4ed74df2d83cbb959ba799032da4249893b6 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Jul 29 11:34:53 2017 -0600 |
committer | Jaehoon Chung <jh80.chung@samsung.com> | Thu Aug 17 16:44:16 2017 +0900 |
tree | a79d028afa2b58447d49c6e70497530e0138779a | |
parent | 745fb9c25e9fd4c59e375cf8f6e2eb8ff75d6d95 [diff] |
dm: blk: Add a function to find an interface-type name Add a function to find the name of an interface type (e.g. "sata", "scsi") from the interface type enum. This is useful for generic code (not specific to SATA or SCSI, for example) that wants to display the type of interface it is dealing with. Signed-off-by: Simon Glass <sjg@chromium.org>