dm: core: Allow a list of devices to be declared in one step
authorSimon Glass <sjg@chromium.org>
Thu, 2 Oct 2014 01:57:21 +0000 (19:57 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 22 Oct 2014 16:36:54 +0000 (10:36 -0600)
commit10778398b3a0a05a4d00ee4a5b1d6a6f215eb37b
treead2ab4b37ec03244d0e3faf59e5f48d2882af8c4
parent3fcc3af4d270dac159fc0c8b2a28ae4f9198befe
dm: core: Allow a list of devices to be declared in one step

The U_BOOT_DEVICE macro allows the declaration of a single U-Boot device.
Add an equivalent macro to declare an array of devices, for convenience.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/dm/platdata.h