From c6ebd011bb27750263e8dd62e33ed5cdd49dc88e Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 1 Oct 2018 12:22:26 -0600 Subject: video: Adjust video_clear() to return an error All driver-model operation should return an error code. Adjust this function to do so also. Signed-off-by: Simon Glass Reviewed-by: Anatolij Gustschin --- include/video.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/video.h b/include/video.h index cd5558f86e..ab416c1cfa 100644 --- a/include/video.h +++ b/include/video.h @@ -120,8 +120,9 @@ int video_reserve(ulong *addrp); * video_clear() - Clear a device's frame buffer to background color. * * @dev: Device to clear + * @return 0 */ -void video_clear(struct udevice *dev); +int video_clear(struct udevice *dev); /** * video_sync() - Sync a device's frame buffer with its hardware -- cgit