aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx3
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-10-06 06:00:19 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2010-10-11 09:31:38 -0400
commit55fd2ef6d9e9f40f30d891e01f2f565552e688fa (patch)
tree670870d08e4824abe6f8ca2e19622e8bb8a617c4 /arch/arm/mach-mx3
parent6bd96f3c332d422c0dda302f1b32c8e21dd75ee3 (diff)
ARM: mx3/cpuimx35: mark otg_pdata and usbh1_pdata as maybe unused
This fixes arch/arm/mach-mx3/mach-cpuimx35.c:143: warning: 'otg_pdata' defined but not used arch/arm/mach-mx3/mach-cpuimx35.c:148: warning: 'usbh1_pdata' defined but not used when USB_ULPI is not selected. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3')
-rw-r--r--arch/arm/mach-mx3/mach-cpuimx35.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-mx3/mach-cpuimx35.c b/arch/arm/mach-mx3/mach-cpuimx35.c
index 781ab4694a0f..6024bb958eea 100644
--- a/arch/arm/mach-mx3/mach-cpuimx35.c
+++ b/arch/arm/mach-mx3/mach-cpuimx35.c
@@ -118,12 +118,12 @@ static const struct mxc_nand_platform_data
118 .flash_bbt = 1, 118 .flash_bbt = 1,
119}; 119};
120 120
121static struct mxc_usbh_platform_data otg_pdata = { 121static struct mxc_usbh_platform_data __maybe_unused otg_pdata = {
122 .portsc = MXC_EHCI_MODE_UTMI, 122 .portsc = MXC_EHCI_MODE_UTMI,
123 .flags = MXC_EHCI_INTERFACE_DIFF_UNI, 123 .flags = MXC_EHCI_INTERFACE_DIFF_UNI,
124}; 124};
125 125
126static struct mxc_usbh_platform_data usbh1_pdata = { 126static struct mxc_usbh_platform_data __maybe_unused usbh1_pdata = {
127 .portsc = MXC_EHCI_MODE_SERIAL, 127 .portsc = MXC_EHCI_MODE_SERIAL,
128 .flags = MXC_EHCI_INTERFACE_SINGLE_UNI | MXC_EHCI_INTERNAL_PHY | 128 .flags = MXC_EHCI_INTERFACE_SINGLE_UNI | MXC_EHCI_INTERNAL_PHY |
129 MXC_EHCI_IPPUE_DOWN, 129 MXC_EHCI_IPPUE_DOWN,