* Hugo Vincent <hugo.vincent@xxxxxxxxx> [090601 18:03]: > I'm pretty new to kernel development, so I don't know any potential > problems with doing this, but without this, audio/ASoC support must be > built into the kernel (modpost fails when trying to build as modules), > whereas with this patch, it can be built and used as a module. > > Comments? To me it looks like we should rather fix sound/soc/omap/omap-mcbsp.c to use the clock framework rather than access omap_ctrl_read/write directly. Tony > diff --git a/arch/arm/mach-omap2/control.c b/arch/arm/mach-omap2/control.c > index 5f3aad9..aa3d123 100644 > --- a/arch/arm/mach-omap2/control.c > +++ b/arch/arm/mach-omap2/control.c > @@ -46,6 +46,7 @@ u32 omap_ctrl_readl(u16 offset) > { > return __raw_readl(OMAP_CTRL_REGADDR(offset)); > } > +EXPORT_SYMBOL(omap_ctrl_readl); > > void omap_ctrl_writeb(u8 val, u16 offset) > { > @@ -61,4 +62,5 @@ void omap_ctrl_writel(u32 val, u16 offset) > { > __raw_writel(val, OMAP_CTRL_REGADDR(offset)); > } > +EXPORT_SYMBOL(omap_ctrl_writel); > -- > To unsubscribe from this list: send the line "unsubscribe linux-omap" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html