diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-03-01 11:01:44 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-03-05 08:53:49 +0100 |
commit | 8d8382ec72d8a4a9ab0d53b07fd19b5248b0e8ce (patch) | |
tree | 2c01346dac6a31dc7462af7a49745e94d1522732 /drivers | |
parent | 8cf256221b4b3b58a383024fdd0bb343e7d9978d (diff) | |
download | barebox-8d8382ec72d8a4a9ab0d53b07fd19b5248b0e8ce.tar.gz barebox-8d8382ec72d8a4a9ab0d53b07fd19b5248b0e8ce.tar.xz |
of: Make locally used function static
__of_unflatten_dtb is only locally used and has no prototype in
include/. Make it static.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/of/fdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index 1edb35f3d6..92dd86e4ec 100644 --- a/drivers/of/fdt.c +++ b/drivers/of/fdt.c @@ -117,7 +117,7 @@ static int of_unflatten_reservemap(struct device_node *root, * Parse a flat device tree binary blob and return a pointer to the * unflattened tree. */ -struct device_node *__of_unflatten_dtb(const void *infdt, bool constprops) +static struct device_node *__of_unflatten_dtb(const void *infdt, bool constprops) { const void *nodep; /* property node pointer */ uint32_t tag; /* tag */ |