On Wed, Jul 28, 2010 at 06:01, Bob Liu wrote: > On Wed, Jul 28, 2010 at 5:53 PM, Mike Frysinger wrote: >> On Wed, Jul 28, 2010 at 05:15, <[email protected]> wrote: >>> Modified: trunk/drivers/usb/musb/musb_core.c (9018 => 9019) >>> >>> - >>> +#ifndef CONFIG_BLACKFIN >>> if (!musb->clock) >>> return 0; >>> - >>> +#endif >> >> the musb maintainers wont accept any arch #ifdefs int he common musb >> files. we'll have to find a different way of doing this. > > I see. > Then our system must support CONFIG_HAVE_CLK > and some funtions like clk_get() clk_put() in the clk framework.
the HAVE_CLK stubs are already handled in musb_core.h. if those arent sufficient, those should provide an example of how to proceed. -mike _______________________________________________ Linux-kernel-commits mailing list [email protected] https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits
