]> Git Repo - u-boot.git/commit
dm: Protect device_unbind() with CONFIG_DM_DEVICE_REMOVE
authorMarek Vasut <[email protected]>
Wed, 18 Feb 2015 21:36:18 +0000 (22:36 +0100)
committerSimon Glass <[email protected]>
Thu, 19 Feb 2015 14:30:31 +0000 (07:30 -0700)
commit66c03151fc8752c29b7d17003b9c87218640b10b
treeff5a72e27bd3fd7ef1e7d2e8e9d5703aa033d491
parent21d004368fc8a4da07147c58dfe9a4e16d4ab761
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 <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Tom Rini <[email protected]>
Acked-by: Simon Glass <[email protected]>
include/dm/device-internal.h
This page took 0.055075 seconds and 4 git commands to generate.