diff options
author | Simon Glass <sjg@chromium.org> | 2016-07-04 20:58:15 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-07-15 05:40:24 +0300 |
commit | fd1c2d9b6a3a9b41ae070ca47361bd6cc6aaaf09 (patch) | |
tree | d0b5a714bc52a00516b0acb7dfc8d141154a70c6 /drivers/core/device-remove.c | |
parent | 7d23b9cf2b1a5a86f7e89a443e3a2de9dac8a9ad (diff) | |
download | u-boot-fd1c2d9b6a3a9b41ae070ca47361bd6cc6aaaf09.tar.xz |
dm: core: Rename DM_NAME_ALLOCED to DM_FLAG_NAME_ALLOCED
This is a flag. Adjust the name to be consistent with the other flags.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/core/device-remove.c')
-rw-r--r-- | drivers/core/device-remove.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/core/device-remove.c b/drivers/core/device-remove.c index 0e56b23fbb..a7f77b4a21 100644 --- a/drivers/core/device-remove.c +++ b/drivers/core/device-remove.c @@ -112,7 +112,7 @@ int device_unbind(struct udevice *dev) devres_release_all(dev); - if (dev->flags & DM_NAME_ALLOCED) + if (dev->flags & DM_FLAG_NAME_ALLOCED) free((char *)dev->name); free(dev); |