]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Add warnings to private / platform setters
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 04:25:41 +0000 (17:25 +1300)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Mar 2021 04:03:09 +0000 (17:03 +1300)
commite81bf6d72fbd016027d856f6da6047d39903390b
treedd0b10d68ea607c147f2cfff39833c498fe7267a
parentcfb9c9b77c29f48ae2c71ff30ca294bdaf369d87
dm: core: Add warnings to private / platform setters

Add a warning to each of these functions so that people do not attempt to
use them outside driver model.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
include/dm/device-internal.h
include/dm/uclass-internal.h