Re: [RFC 07/11] remove CONFIG_KMOD from sound

From: Johannes Berg
Date: Tue Jul 08 2008 - 14:39:14 EST


On Tue, 2008-07-08 at 21:30 +0300, Adrian Bunk wrote:
> On Tue, Jul 08, 2008 at 07:00:22PM +0200, Johannes Berg wrote:
> >...
> > --- everything.orig/sound/core/seq/seq_device.c 2008-07-08 18:54:05.000000000 +0200
> > +++ everything/sound/core/seq/seq_device.c 2008-07-08 18:57:40.000000000 +0200
> >...
> > @@ -566,7 +566,7 @@ EXPORT_SYMBOL(snd_seq_device_load_driver
> > EXPORT_SYMBOL(snd_seq_device_new);
> > EXPORT_SYMBOL(snd_seq_device_register_driver);
> > EXPORT_SYMBOL(snd_seq_device_unregister_driver);
> > -#ifdef CONFIG_KMOD
> > +#ifdef CONFIG_MODULES
> > EXPORT_SYMBOL(snd_seq_autoload_lock);
> > EXPORT_SYMBOL(snd_seq_autoload_unlock);
> > #endif
> >...
>
> You can remove the #ifdef

Same here as with dev_load, unless it's actually ok to export static
inlines.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part