From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hema Kalliguddi Subject: RE: [PATCH 4/7] usb: otg: OMAP4430: Add phy_suspend function pointer to twl4030_usb_data Date: Fri, 4 Feb 2011 10:53:14 +0530 Message-ID: References: <1296726587-10530-4-git-send-email-hemahk@ti.com> <4D4AB187.50406@ru.mvista.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: In-Reply-To: <4D4AB187.50406-hkdhdckH98+B+jHODAdFcQ@public.gmane.org> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Sergei Shtylyov Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Felipe Balbi , Tony Lindgren List-Id: linux-omap@vger.kernel.org Hi, >-----Original Message----- >From: Sergei Shtylyov [mailto:sshtylyov-Igf4POYTYCDQT0dZR+AlfA@public.gmane.org] >Sent: Thursday, February 03, 2011 7:16 PM >To: Hema HK >Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; >Felipe Balbi; Tony Lindgren >Subject: Re: [PATCH 4/7] usb: otg: OMAP4430: Add phy_suspend >function pointer to twl4030_usb_data > >Hello. > >On 03-02-2011 12:49, Hema HK wrote: > >> Introduce the .phy_suspend function pointer to >twl4030_usb_data structure. >> assign the function to it for both sdp board and panda boards. >> This will be used by the twl6030-usb transceiver driver. > >> Signed-off-by: Hema HK >> Cc: Felipe Balbi >> Cc: Tony Lindgren > >> Index: linux-2.6/arch/arm/plat-omap/include/plat/usb.h >> =================================================================== >> --- linux-2.6.orig/arch/arm/plat-omap/include/plat/usb.h >> +++ linux-2.6/arch/arm/plat-omap/include/plat/usb.h >> @@ -88,6 +88,7 @@ extern int omap4430_phy_power(struct dev >> extern int omap4430_phy_set_clk(struct device *dev, int on); >> extern int omap4430_phy_init(struct device *dev); >> extern int omap4430_phy_exit(struct device *dev); >> +extern int omap4430_phy_suspend(struct device *dev, int suspend); > > And where it it defined? Why this doesn't happen in this patch? > This is defined in the previous patch. This could have been done in previous patch also, but it is just that extern is done only when using. Regards, Hema >WBR, Sergei > -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html