diff options
author | Tom Rini <trini@konsulko.com> | 2017-04-05 12:28:33 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-04-05 12:28:33 (GMT) |
commit | 433647a7ef9241b963b4636e7f8c3a2159d156f0 (patch) | |
tree | 15008cb530f46b5f9711efa2d9fc550b11ce2905 /include/dm/device-internal.h | |
parent | 7da8680b260b4598d841d9a8432d95d56cb86d9f (diff) | |
parent | 239ae4a9129b8b9f24a216e127042b255b07ae59 (diff) | |
download | u-boot-433647a7ef9241b963b4636e7f8c3a2159d156f0.tar.xz |
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'include/dm/device-internal.h')
-rw-r--r-- | include/dm/device-internal.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/dm/device-internal.h b/include/dm/device-internal.h index 0bf8707..2cabc87 100644 --- a/include/dm/device-internal.h +++ b/include/dm/device-internal.h @@ -96,12 +96,13 @@ int device_probe(struct udevice *dev); * children are deactivated first. * * @dev: Pointer to device to remove + * @flags: Flags for selective device removal * @return 0 if OK, -ve on error (an error here is normally a very bad thing) */ #if CONFIG_IS_ENABLED(DM_DEVICE_REMOVE) -int device_remove(struct udevice *dev); +int device_remove(struct udevice *dev, uint flags); #else -static inline int device_remove(struct udevice *dev) { return 0; } +static inline int device_remove(struct udevice *dev, uint flags) { return 0; } #endif /** |