summaryrefslogtreecommitdiff
path: root/include/dm/device.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-01-25 00:32:43 +0300
committerSimon Glass <sjg@chromium.org>2021-02-03 13:38:41 +0300
commit4d7bab1adb1a8e3d5b30c5d19f1873dacc95bb93 (patch)
treee35ea1d8851f3e71eb6a70b603582089bd5b8809 /include/dm/device.h
parenta547fcb82880f89d9fdac218308b66e28d3e1481 (diff)
downloadu-boot-4d7bab1adb1a8e3d5b30c5d19f1873dacc95bb93.tar.xz
dm: pci: Correct use of wrong flag name
Update a driver that uses the incorrect flag. Add a comment to hopefully prevent furture mistakes. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm/device.h')
-rw-r--r--include/dm/device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dm/device.h b/include/dm/device.h
index 8f38cf1633..204441fd23 100644
--- a/include/dm/device.h
+++ b/include/dm/device.h
@@ -77,6 +77,9 @@ struct driver_info;
* One or multiple of these flags are passed to device_remove() so that
* a selective device removal as specified by the remove-stage and the
* driver flags can be done.
+ *
+ * DO NOT use these flags in your driver's @flags value...
+ * use the above DM_FLAG_... values instead
*/
enum {
/* Normal remove, remove all devices */