summaryrefslogtreecommitdiffstats
path: root/drivers/thunderbolt
diff options
context:
space:
mode:
authorSachin Kamat2014-06-20 11:02:34 +0200
committerGreg Kroah-Hartman2014-06-20 18:44:42 +0200
commit620863f71c46509e104729c75a199689e59cac47 (patch)
tree7454537cd2fccd1da0d7294b9896fc8a2105b619 /drivers/thunderbolt
parentthunderbolt: Use NULL instead of 0 in nhi.c (diff)
downloadkernel-qcow2-linux-620863f71c46509e104729c75a199689e59cac47.tar.gz
kernel-qcow2-linux-620863f71c46509e104729c75a199689e59cac47.tar.xz
kernel-qcow2-linux-620863f71c46509e104729c75a199689e59cac47.zip
thunderbolt: Staticize nhi_ids
'nhi_ids' is local to this file. Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com> Acked-by: Andreas Noever <andreas.noever@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/thunderbolt')
-rw-r--r--drivers/thunderbolt/nhi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thunderbolt/nhi.c b/drivers/thunderbolt/nhi.c
index 0fc137af89f5..2054fbf8b382 100644
--- a/drivers/thunderbolt/nhi.c
+++ b/drivers/thunderbolt/nhi.c
@@ -632,7 +632,7 @@ static const struct dev_pm_ops nhi_pm_ops = {
.restore_noirq = nhi_resume_noirq,
};
-struct pci_device_id nhi_ids[] = {
+static struct pci_device_id nhi_ids[] = {
/*
* We have to specify class, the TB bridges use the same device and
* vendor (sub)id.