diff options
author | Simon Glass | 2021-01-24 14:32:43 -0700 |
---|---|---|
committer | Simon Glass | 2021-02-03 03:38:41 -0700 |
commit | 4d7bab1adb1a8e3d5b30c5d19f1873dacc95bb93 (patch) | |
tree | e35ea1d8851f3e71eb6a70b603582089bd5b8809 /include/dm | |
parent | a547fcb82880f89d9fdac218308b66e28d3e1481 (diff) |
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')
-rw-r--r-- | include/dm/device.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dm/device.h b/include/dm/device.h index 8f38cf16331..204441fd234 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 */ |