From: Ajay Kumar Gupta <ajay.gupta@ti.com>
To: linux-usb@vger.kernel.org
Cc: linux-omap@vger.kernel.org, felipe.balbi@nokia.com,
Ajay Kumar Gupta <ajay.gupta@ti.com>
Subject: [PATCH 1/2] usb: ehci-omap: fix compilation warning
Date: Tue, 4 May 2010 13:15:22 +0530 [thread overview]
Message-ID: <1272959123-31362-1-git-send-email-ajay.gupta@ti.com> (raw)
Fixes below compilation warning:
drivers/usb/host/ehci-hcd.c:425:
warning: 'ehci_port_power' defined but not used
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
---
drivers/usb/host/ehci-omap.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c
index 40a8583..e55fd58 100644
--- a/drivers/usb/host/ehci-omap.c
+++ b/drivers/usb/host/ehci-omap.c
@@ -659,6 +659,8 @@ static int ehci_hcd_omap_probe(struct platform_device *pdev)
goto err_add_hcd;
}
+ ehci_port_power(omap->ehci, 0);
+
return 0;
err_add_hcd:
--
1.6.2.4
next reply other threads:[~2010-05-04 7:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-04 7:45 Ajay Kumar Gupta [this message]
2010-05-04 7:45 ` [PATCH 2/2] usb: ehci-omap: fix Si version related programming Ajay Kumar Gupta
2010-05-05 18:31 ` Felipe Balbi
[not found] ` <1272959123-31362-1-git-send-email-ajay.gupta-l0cyMroinI0@public.gmane.org>
2010-05-04 14:23 ` [PATCH 1/2] usb: ehci-omap: fix compilation warning Gupta, Ajay Kumar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1272959123-31362-1-git-send-email-ajay.gupta@ti.com \
--to=ajay.gupta@ti.com \
--cc=felipe.balbi@nokia.com \
--cc=linux-omap@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).