commit | 52138fd4072b64448855eac4c2c9815b46f5b43c | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun May 01 11:36:28 2016 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue May 17 09:54:43 2016 -0600 |
tree | fd5dead396df725150d71861e69d656d22e73dd9 | |
parent | 199a1201ab901413a80c64a9eee72f82977ba8d3 [diff] |
dm: blk: Allow blk_create_device() to allocate the device number Allow a devnum parameter of -1 to indicate that the device number should be alocated automatically. The next highest available device number for that interface type is used. Signed-off-by: Simon Glass <sjg@chromium.org>