mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 01:44:34 +00:00
common: static fdt_simplefb_enable_existing_node()
Function fdt_simplefb_enable_existing_node() should be static as it is not used outside common/fdt_simplefb.c. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
327883c3c9
commit
b52d6de207
2 changed files with 7 additions and 2 deletions
|
@ -71,7 +71,13 @@ int fdt_simplefb_add_node(void *blob)
|
|||
return fdt_simplefb_configure_node(blob, off);
|
||||
}
|
||||
|
||||
int fdt_simplefb_enable_existing_node(void *blob)
|
||||
/**
|
||||
* fdt_simplefb_enable_existing_node() - enable simple-framebuffer DT node
|
||||
*
|
||||
* @blob: device-tree
|
||||
* Return: 0 on success, non-zero otherwise
|
||||
*/
|
||||
static int fdt_simplefb_enable_existing_node(void *blob)
|
||||
{
|
||||
int off;
|
||||
|
||||
|
|
|
@ -9,6 +9,5 @@
|
|||
#ifndef _FDT_SIMPLEFB_H_
|
||||
#define _FDT_SIMPLEFB_H_
|
||||
int fdt_simplefb_add_node(void *blob);
|
||||
int fdt_simplefb_enable_existing_node(void *blob);
|
||||
int fdt_simplefb_enable_and_mem_rsv(void *blob);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue