From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kishon Vijay Abraham I Date: Thu, 13 Aug 2015 20:04:58 +0530 Subject: [U-Boot] [PATCH 2/6] ARM: OMAP5: Add functions to enable and disable USB clocks In-Reply-To: <20150811003350.GB25532@bill-the-cat> References: <1439206118-14589-1-git-send-email-kishon@ti.com> <1439206118-14589-3-git-send-email-kishon@ti.com> <20150811003350.GB25532@bill-the-cat> Message-ID: <55CCAB12.40300@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Tom, On Tuesday 11 August 2015 06:03 AM, Tom Rini wrote: > On Mon, Aug 10, 2015 at 04:58:34PM +0530, Kishon Vijay Abraham I wrote: > >> diff --git a/arch/arm/include/asm/omap_common.h b/arch/arm/include/asm/omap_common.h >> index 224fbf0..527e143 100644 >> --- a/arch/arm/include/asm/omap_common.h >> +++ b/arch/arm/include/asm/omap_common.h >> @@ -587,6 +587,12 @@ u32 omap_ddr_clk(void); >> u32 get_sys_clk_index(void); >> void enable_basic_clocks(void); >> void enable_basic_uboot_clocks(void); >> + >> +#ifdef CONFIG_USB_DWC3 >> +void enable_usb_clocks(int index); >> +void disable_usb_clocks(int index); >> +#endif > > No #ifdef/#endif in headers, thanks. sure, I'll fix and send. Thanks Kishon >