summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlexander Shishkin2013-03-30 11:54:02 +0100
committerGreg Kroah-Hartman2013-03-30 16:13:58 +0100
commitefccca4ff59e672a6b50e99f0f4cb61b60d09ec8 (patch)
tree05bd582a5319fc9fddcfbe705182cc4a76fdae6c /drivers
parentusb: chipidea: usbmisc: add post handling and errata fix for mx25 (diff)
downloadkernel-qcow2-linux-efccca4ff59e672a6b50e99f0f4cb61b60d09ec8.tar.gz
kernel-qcow2-linux-efccca4ff59e672a6b50e99f0f4cb61b60d09ec8.tar.xz
kernel-qcow2-linux-efccca4ff59e672a6b50e99f0f4cb61b60d09ec8.zip
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')
-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 9b227e39299a..4e1fc61b9d95 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,