X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sound%2Fcore%2Fsound_oss.c;h=9055c6de95875d4b199dce59b0db0b1fe5737ed6;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=74f0fe5a1ba086c3aa5b7d531973eacfd5ecab24;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/sound/core/sound_oss.c b/sound/core/sound_oss.c index 74f0fe5a1..9055c6de9 100644 --- a/sound/core/sound_oss.c +++ b/sound/core/sound_oss.c @@ -58,8 +58,6 @@ void *snd_lookup_oss_minor_data(unsigned int minor, int type) return private_data; } -EXPORT_SYMBOL(snd_lookup_oss_minor_data); - static int snd_oss_kernel_minor(int type, struct snd_card *card, int dev) { int minor; @@ -160,8 +158,6 @@ int snd_register_oss_device(int type, struct snd_card *card, int dev, return -EBUSY; } -EXPORT_SYMBOL(snd_register_oss_device); - int snd_unregister_oss_device(int type, struct snd_card *card, int dev) { int minor = snd_oss_kernel_minor(type, card, dev); @@ -201,15 +197,13 @@ int snd_unregister_oss_device(int type, struct snd_card *card, int dev) return 0; } -EXPORT_SYMBOL(snd_unregister_oss_device); - /* * INFO PART */ #ifdef CONFIG_PROC_FS -static struct snd_info_entry *snd_minor_info_oss_entry; +static struct snd_info_entry *snd_minor_info_oss_entry = NULL; static const char *snd_oss_device_type_name(int type) { @@ -258,6 +252,7 @@ int __init snd_minor_info_oss_init(void) entry = snd_info_create_module_entry(THIS_MODULE, "devices", snd_oss_root); if (entry) { + entry->c.text.read_size = PAGE_SIZE; entry->c.text.read = snd_minor_info_oss_read; if (snd_info_register(entry) < 0) { snd_info_free_entry(entry);