aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2017-09-28 16:40:15 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-10-02 21:59:33 -0500
commitec6e509a0bb6b0f6117ebc3950247c6e16c90e79 (patch)
tree27e54ab3d8f3f3026d7d763db7e859b99d1ec4df /hw
parentf28fdbcd96dadf5f4e3c9509b9d7abe053a87b24 (diff)
downloadskiboot-ec6e509a0bb6b0f6117ebc3950247c6e16c90e79.zip
skiboot-ec6e509a0bb6b0f6117ebc3950247c6e16c90e79.tar.gz
skiboot-ec6e509a0bb6b0f6117ebc3950247c6e16c90e79.tar.bz2
phb4: make retry_whitelist static
Silences sparse warning: hw/phb4.c:XX:20: warning: symbol 'retry_whitelist' was not declared. Should it be static? Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/phb4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/phb4.c b/hw/phb4.c
index b94d492..c17a304 100644
--- a/hw/phb4.c
+++ b/hw/phb4.c
@@ -2432,7 +2432,7 @@ struct pci_card_id {
uint16_t device;
};
-struct pci_card_id retry_whitelist[] = {
+static struct pci_card_id retry_whitelist[] = {
{ 0x1000, 0x005d }, /* LSI Logic MegaRAID SAS-3 3108 */
{ 0x1000, 0x00c9 }, /* LSI MPT SAS-3 */
{ 0x104c, 0x8241 }, /* TI xHCI USB */