Skip to content
Snippets Groups Projects
Commit 66c03151 authored by Marek Vasut's avatar Marek Vasut Committed by Simon Glass
Browse files

dm: Protect device_unbind() with CONFIG_DM_DEVICE_REMOVE


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: default avatarMarek Vasut <marex@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Stefan Roese <sr@denx.de>
Cc: Tom Rini <trini@ti.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 21d00436
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment