dm: Add a function to bind a device by driver name
authorSimon Glass <sjg@chromium.org>
Tue, 11 Nov 2014 17:46:21 +0000 (10:46 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 22 Nov 2014 09:16:47 +0000 (10:16 +0100)
commite33dc221f45ca501319f5aebd1c88574238261be
tree1be16d0d508c305b89757063d0c2e939ea226714
parenta88340dfcf8a34cf7fe000c619d01e1d0f0a442a
dm: Add a function to bind a device by driver name

In some cases we need to manually bind a device to a particular driver.
Add a function to do this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Acked-by: Heiko Schocher <hs@denx.de>
drivers/core/lists.c
include/dm/lists.h