[U-Boot] [PATCH 1/2] dm: Protect device_unbind() with CONFIG_DM_DEVICE_REMOVE

Simon Glass sjg at chromium.org
Thu Feb 19 02:06:38 CET 2015


On 18 February 2015 at 14:36, Marek Vasut <marex at denx.de> wrote:
>
> Since device_unbind() is also defined in device-remove.c,
> which is compiled in only in case CONFIG_DM_DEVICE_REMOVE
> is defined, protect the device_unbind() prototype with the
> same CONFIG_DM_DEVICE_REMOVE check.
>
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Stefan Roese <sr at denx.de>
> Cc: Tom Rini <trini at ti.com>
> ---
>  include/dm/device-internal.h | 4 ++++
>  1 file changed, 4 insertions(+)

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list