dm: core: Allow device_bind() to used without CONFIG_OF_CONTROL
authorSimon Glass <sjg@chromium.org>
Wed, 17 Sep 2014 15:02:38 +0000 (09:02 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 23 Sep 2014 18:44:30 +0000 (12:44 -0600)
commit91cbd792c46c916ef196c5b7cd16ff592d2f3632
tree0bbc6b1ee9085f4ec1279b6143902dd1e56f372e
parentbf1a86fca0111067021f3d263242767d3709d7be
dm: core: Allow device_bind() to used without CONFIG_OF_CONTROL

The sequence number support in driver model requires device tree control.
It should be skipped if CONFIG_OF_CONTROL is not defined, and should not
require functions from fdtdec.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/device.c