lkml.org 
[lkml]   [2008]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: HAVE_CLK (for <linux/clk.h> support)
On Wed, May 28, 2008 at 2:14 AM, David Brownell <david-b@pacbell.net> wrote:

[snip]

> --- g26.orig/drivers/usb/musb/Kconfig 2008-05-27 16:02:41.000000000 -0700
> +++ g26/drivers/usb/musb/Kconfig 2008-05-27 16:01:09.000000000 -0700
> @@ -8,7 +8,7 @@ comment "Enable Host or Gadget support t
>
> # (M)HDRC = (Multipoint) Highspeed Dual-Role Controller
> config USB_MUSB_HDRC
> - depends on USB || USB_GADGET
> + depends on HAVE_CLK && (USB || USB_GADGET)
> select TWL4030_USB if MACH_OMAP_3430SDP
> tristate 'Inventra Highspeed Dual Role Controller (TI, ...)'
> help

Sorry, another comment.

Instead of making the driver dependant on HAVE_CLK (which would be
true for virtually any driver comming from linux-omap), you could make
clk_enable a nop in case arch doesn't HAVE_CLK. How does that sound?

--
Best Regards,

Felipe Balbi
felipebalbi@users.sourceforge.net


\
 
 \ /
  Last update: 2008-05-28 02:09    [W:0.063 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site