Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: USB: fix the pointer type mismatch compilation warning
@ 2012-03-05 11:19 Keshava Munegowda
       [not found] ` <1330946376-17672-1-git-send-email-keshava_mgowda-l0cyMroinI0@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Keshava Munegowda @ 2012-03-05 11:19 UTC (permalink / raw)
  To: linux-omap, linux-usb
  Cc: Keshava Munegowda, balbi, parthab, govindraj.raja, paul,
	b-cousson, Keshava Munegowda

From: Keshava Munegowda <Keshava_mgowda@ti.com>

The compilation of usb-host.c file was resulting compilation warning
due to pointer type mismatch in assignment of return pointer type
of the function omap_device_build_ss to local pointer type.
This warning is fixed.

Signed-off-by: Keshava Munegowda <keshava_mgowda@ti.com>
---
 arch/arm/mach-omap2/usb-host.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/usb-host.c b/arch/arm/mach-omap2/usb-host.c
index 771dc78..88d4a19 100644
--- a/arch/arm/mach-omap2/usb-host.c
+++ b/arch/arm/mach-omap2/usb-host.c
@@ -486,7 +486,7 @@ static void setup_4430ohci_io_mux(const enum usbhs_omap_port_mode *port_mode)
 void __init usbhs_init(const struct usbhs_omap_board_data *pdata)
 {
 	struct omap_hwmod	*oh[2];
-	struct omap_device	*od;
+	struct platform_device	*od;
 	int			bus_id = -1;
 	int			i;
 
-- 
1.6.0.4


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-03-05 13:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-05 11:19 [PATCH] ARM: OMAP: USB: fix the pointer type mismatch compilation warning Keshava Munegowda
     [not found] ` <1330946376-17672-1-git-send-email-keshava_mgowda-l0cyMroinI0@public.gmane.org>
2012-03-05 11:23   ` Govindraj
2012-03-05 11:36     ` Munegowda, Keshava
2012-03-05 11:43   ` Sergei Shtylyov
     [not found]     ` <4F54A6E6.6070409-Igf4POYTYCDQT0dZR+AlfA@public.gmane.org>
2012-03-05 13:36       ` Munegowda, Keshava

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox