185f812c41
Sphinx expects Return: and not @return to indicate a return value. find . -name '*.c' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; find . -name '*.h' -exec \ sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \; Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
24 lines
519 B
C
24 lines
519 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (c) 2017 Google, Inc
|
|
* Written by Simon Glass <sjg@chromium.org>
|
|
*
|
|
* Support for a 'live' (as opposed to flat) device tree
|
|
*/
|
|
|
|
#ifndef _OF_LIVE_H
|
|
#define _OF_LIVE_H
|
|
|
|
struct device_node;
|
|
|
|
/**
|
|
* of_live_build() - build a live (hierarchical) tree from a flat DT
|
|
*
|
|
* @fdt_blob: Input tree to convert
|
|
* @rootp: Returns live tree that was created
|
|
* Return: 0 if OK, -ve on error
|
|
*/
|
|
int of_live_build(const void *fdt_blob, struct device_node **rootp);
|
|
|
|
#endif
|