diff options
author | Andrew Donnellan <andrew.donnellan@au1.ibm.com> | 2017-01-03 17:10:55 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-01-05 16:14:35 +1100 |
commit | d57264232a6e2087a0506a4beca24ade14b53d55 (patch) | |
tree | e08c00f97316ece28b4f34b9fb9f7e1aa70a50fe /core/nvram-format.c | |
parent | 197f3caf7c1ea192b8d02319e9dfc8cfc2171635 (diff) | |
download | skiboot-d57264232a6e2087a0506a4beca24ade14b53d55.zip skiboot-d57264232a6e2087a0506a4beca24ade14b53d55.tar.gz skiboot-d57264232a6e2087a0506a4beca24ade14b53d55.tar.bz2 |
treewide: squash sparse static warnings
Add static to various declarations that can use it, as found by sparse.
It turns out that one of these (fsp_pcie_inv_lock in
platform/ibm-fsp/firenze.c) is actually unused, so remove it.
Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/nvram-format.c')
-rw-r--r-- | core/nvram-format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/nvram-format.c b/core/nvram-format.c index b110d80..5c7c9fe 100644 --- a/core/nvram-format.c +++ b/core/nvram-format.c @@ -28,7 +28,7 @@ struct chrp_nvram_hdr { char name[12]; }; -struct chrp_nvram_hdr *skiboot_part_hdr; +static struct chrp_nvram_hdr *skiboot_part_hdr; #define NVRAM_SIG_FW_PRIV 0x51 #define NVRAM_SIG_SYSTEM 0x70 |