diff options
author | Simon Glass <sjg@chromium.org> | 2014-06-11 23:29:54 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-06-20 11:56:50 -0600 |
commit | f2bc6fc3316d85dcd36d88788c3c412213c7823c (patch) | |
tree | 37f8fe708242e5e0f66fce40efbcbfbfc5e6e3f6 /include/dm/device.h | |
parent | 47f3d3c80bfe70130054cb61ebbdbbfc61dc8267 (diff) | |
download | u-boot-imx-f2bc6fc3316d85dcd36d88788c3c412213c7823c.zip u-boot-imx-f2bc6fc3316d85dcd36d88788c3c412213c7823c.tar.gz u-boot-imx-f2bc6fc3316d85dcd36d88788c3c412213c7823c.tar.bz2 |
dm: Tidy up four minor code nits
There is a spelling mistake and two functions are missing comments
altogether. Also the flags declaration is correct, but doesn't follow
style. Finally, the uclass_get_device() function has some errors in
its documentation.
Fix these problems.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include/dm/device.h')
-rw-r--r-- | include/dm/device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dm/device.h b/include/dm/device.h index 19f2039..ae75a3f 100644 --- a/include/dm/device.h +++ b/include/dm/device.h @@ -21,7 +21,7 @@ struct driver_info; #define DM_FLAG_ACTIVATED (1 << 0) /* DM is responsible for allocating and freeing platdata */ -#define DM_FLAG_ALLOC_PDATA (2 << 0) +#define DM_FLAG_ALLOC_PDATA (1 << 1) /** * struct udevice - An instance of a driver |