summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorUwe Kleine-König2010-10-06 12:00:19 +0200
committerSascha Hauer2010-10-11 15:31:38 +0200
commit55fd2ef6d9e9f40f30d891e01f2f565552e688fa (patch)
tree670870d08e4824abe6f8ca2e19622e8bb8a617c4 /arch/arm
parentARM: imx: dynamically register fec devices (diff)
downloadkernel-qcow2-linux-55fd2ef6d9e9f40f30d891e01f2f565552e688fa.tar.gz
kernel-qcow2-linux-55fd2ef6d9e9f40f30d891e01f2f565552e688fa.tar.xz
kernel-qcow2-linux-55fd2ef6d9e9f40f30d891e01f2f565552e688fa.zip
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')
-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
.flash_bbt = 1,
};
-static struct mxc_usbh_platform_data otg_pdata = {
+static struct mxc_usbh_platform_data __maybe_unused otg_pdata = {
.portsc = MXC_EHCI_MODE_UTMI,
.flags = MXC_EHCI_INTERFACE_DIFF_UNI,
};
-static struct mxc_usbh_platform_data usbh1_pdata = {
+static struct mxc_usbh_platform_data __maybe_unused usbh1_pdata = {
.portsc = MXC_EHCI_MODE_SERIAL,
.flags = MXC_EHCI_INTERFACE_SINGLE_UNI | MXC_EHCI_INTERNAL_PHY |
MXC_EHCI_IPPUE_DOWN,