commit | 66c03151fc8752c29b7d17003b9c87218640b10b | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Wed Feb 18 22:36:18 2015 +0100 |
committer | Simon Glass <sjg@chromium.org> | Thu Feb 19 07:30:31 2015 -0700 |
tree | ff5a72e27bd3fd7ef1e7d2e8e9d5703aa033d491 | |
parent | 21d004368fc8a4da07147c58dfe9a4e16d4ab761 [diff] |
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: Marek Vasut <marex@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Stefan Roese <sr@denx.de> Cc: Tom Rini <trini@ti.com> Acked-by: Simon Glass <sjg@chromium.org>