summaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2013-03-30 12:54:02 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-30 08:13:58 -0700
commitefccca4ff59e672a6b50e99f0f4cb61b60d09ec8 (patch)
tree05bd582a5319fc9fddcfbe705182cc4a76fdae6c /drivers/usb/chipidea
parenta068533079a0a1be53c78c89e65adfbd3c687591 (diff)
downloadop-kernel-dev-efccca4ff59e672a6b50e99f0f4cb61b60d09ec8.zip
op-kernel-dev-efccca4ff59e672a6b50e99f0f4cb61b60d09ec8.tar.gz
usb: chipidea: make pci platform datas static
PCI chipideas' platform datas are not static as all such things should be. Fix it. Reported-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea')
-rw-r--r--drivers/usb/chipidea/ci13xxx_pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/chipidea/ci13xxx_pci.c b/drivers/usb/chipidea/ci13xxx_pci.c
index 9b227e3..4e1fc61 100644
--- a/drivers/usb/chipidea/ci13xxx_pci.c
+++ b/drivers/usb/chipidea/ci13xxx_pci.c
@@ -23,17 +23,17 @@
/******************************************************************************
* PCI block
*****************************************************************************/
-struct ci13xxx_platform_data pci_platdata = {
+static struct ci13xxx_platform_data pci_platdata = {
.name = UDC_DRIVER_NAME,
.capoffset = DEF_CAPOFFSET,
};
-struct ci13xxx_platform_data langwell_pci_platdata = {
+static struct ci13xxx_platform_data langwell_pci_platdata = {
.name = UDC_DRIVER_NAME,
.capoffset = 0,
};
-struct ci13xxx_platform_data penwell_pci_platdata = {
+static struct ci13xxx_platform_data penwell_pci_platdata = {
.name = UDC_DRIVER_NAME,
.capoffset = 0,
.power_budget = 200,
OpenPOWER on IntegriCloud