Commit 13fdd33e authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Linus Torvalds

[PATCH] remove dead exports in sounds/oss

Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 3f9fabe7
......@@ -62,11 +62,10 @@
#include "sound_config.h"
int aci_port; /* as determined by bit 4 in the OPTi 929 MC4 register */
int aci_idcode[2]; /* manufacturer and product ID */
static int aci_idcode[2]; /* manufacturer and product ID */
int aci_version; /* ACI firmware version */
EXPORT_SYMBOL(aci_port);
EXPORT_SYMBOL(aci_idcode);
EXPORT_SYMBOL(aci_version);
#include "aci.h"
......
......@@ -2,7 +2,6 @@
#define _ACI_H_
extern int aci_port;
extern int aci_idcode[2]; /* manufacturer and product ID */
extern int aci_version; /* ACI firmware version */
extern int aci_rw_cmd(int write1, int write2, int write3);
......
......@@ -38,7 +38,7 @@
#define NEUTRAL16 0x00
int dma_ioctl(int dev, unsigned int cmd, void __user *arg);
static int dma_ioctl(int dev, unsigned int cmd, void __user *arg);
static int set_format(int dev, int fmt)
{
......@@ -735,7 +735,7 @@ static int dma_set_fragment(int dev, struct dma_buffparms *dmap, int fact)
return bytes | ((count - 1) << 16);
}
int dma_ioctl(int dev, unsigned int cmd, void __user *arg)
static int dma_ioctl(int dev, unsigned int cmd, void __user *arg)
{
struct dma_buffparms *dmap_out = audio_devs[dev]->dmap_out;
struct dma_buffparms *dmap_in = audio_devs[dev]->dmap_in;
......
......@@ -14,6 +14,3 @@ EXPORT_SYMBOL(DMAbuf_open_dma);
EXPORT_SYMBOL(DMAbuf_close_dma);
EXPORT_SYMBOL(DMAbuf_inputintr);
EXPORT_SYMBOL(DMAbuf_outputintr);
EXPORT_SYMBOL(dma_ioctl);
EXPORT_SYMBOL(audio_open);
EXPORT_SYMBOL(audio_release);
......@@ -16,6 +16,8 @@
#define _DEV_TABLE_C_
#include "sound_config.h"
static int sound_alloc_audiodev(void);
int sound_install_audiodrv(int vers, char *name, struct audio_driver *driver,
int driver_size, int flags, unsigned int format_mask,
void *devc, int dma1, int dma2)
......@@ -121,7 +123,7 @@ void sound_unload_audiodev(int dev)
}
}
int sound_alloc_audiodev(void)
static int sound_alloc_audiodev(void)
{
int i = register_sound_dsp(&oss_sound_fops, -1);
if(i==-1)
......
......@@ -397,7 +397,6 @@ void sound_unload_mixerdev(int dev);
void sound_unload_mididev(int dev);
void sound_unload_synthdev(int dev);
void sound_unload_timerdev(int dev);
int sound_alloc_audiodev(void);
int sound_alloc_mixerdev(void);
int sound_alloc_timerdev(void);
int sound_alloc_synthdev(void);
......
......@@ -81,25 +81,6 @@ void msnd_unregister(multisound_dev_t *dev)
--num_devs;
}
int msnd_get_num_devs(void)
{
return num_devs;
}
multisound_dev_t *msnd_get_dev(int j)
{
int i;
for (i = 0; i < MSND_MAX_DEVS && j; ++i)
if (devs[i] != NULL)
--j;
if (i == MSND_MAX_DEVS || j != 0)
return NULL;
return devs[i];
}
void msnd_init_queue(unsigned long base, int start, int size)
{
isa_writew(PCTODSP_BASED(start), base + JQS_wStart);
......@@ -203,7 +184,7 @@ int msnd_fifo_read(msnd_fifo *f, char *buf, size_t len)
return count;
}
int msnd_wait_TXDE(multisound_dev_t *dev)
static int msnd_wait_TXDE(multisound_dev_t *dev)
{
register unsigned int io = dev->io;
register int timeout = 1000;
......@@ -215,7 +196,7 @@ int msnd_wait_TXDE(multisound_dev_t *dev)
return -EIO;
}
int msnd_wait_HC0(multisound_dev_t *dev)
static int msnd_wait_HC0(multisound_dev_t *dev)
{
register unsigned int io = dev->io;
register int timeout = 1000;
......@@ -339,8 +320,6 @@ int msnd_disable_irq(multisound_dev_t *dev)
#ifndef LINUX20
EXPORT_SYMBOL(msnd_register);
EXPORT_SYMBOL(msnd_unregister);
EXPORT_SYMBOL(msnd_get_num_devs);
EXPORT_SYMBOL(msnd_get_dev);
EXPORT_SYMBOL(msnd_init_queue);
......@@ -351,8 +330,6 @@ EXPORT_SYMBOL(msnd_fifo_make_empty);
EXPORT_SYMBOL(msnd_fifo_write);
EXPORT_SYMBOL(msnd_fifo_read);
EXPORT_SYMBOL(msnd_wait_TXDE);
EXPORT_SYMBOL(msnd_wait_HC0);
EXPORT_SYMBOL(msnd_send_dsp_cmd);
EXPORT_SYMBOL(msnd_send_word);
EXPORT_SYMBOL(msnd_upload_host);
......
......@@ -258,8 +258,6 @@ typedef struct multisound_dev {
int msnd_register(multisound_dev_t *dev);
void msnd_unregister(multisound_dev_t *dev);
int msnd_get_num_devs(void);
multisound_dev_t * msnd_get_dev(int i);
void msnd_init_queue(unsigned long, int start, int size);
......@@ -270,8 +268,6 @@ void msnd_fifo_make_empty(msnd_fifo *f);
int msnd_fifo_write(msnd_fifo *f, const char *buf, size_t len);
int msnd_fifo_read(msnd_fifo *f, char *buf, size_t len);
int msnd_wait_TXDE(multisound_dev_t *dev);
int msnd_wait_HC0(multisound_dev_t *dev);
int msnd_send_dsp_cmd(multisound_dev_t *dev, BYTE cmd);
int msnd_send_word(multisound_dev_t *dev, unsigned char high,
unsigned char mid, unsigned char low);
......
......@@ -39,7 +39,6 @@ int audio_ioctl (int dev, struct file *file,
unsigned int cmd, void __user *arg);
void audio_init_devices (void);
void reorganize_buffers (int dev, struct dma_buffparms *dmap, int recording);
int dma_ioctl (int dev, unsigned int cmd, void __user *arg);
/*
* System calls for the /dev/sequencer
......
......@@ -22,10 +22,8 @@ EXPORT_SYMBOL(num_audiodevs);
EXPORT_SYMBOL(midi_devs);
EXPORT_SYMBOL(num_midis);
EXPORT_SYMBOL(synth_devs);
EXPORT_SYMBOL(num_synths);
EXPORT_SYMBOL(sound_timer_devs);
EXPORT_SYMBOL(num_sound_timers);
EXPORT_SYMBOL(sound_install_audiodrv);
EXPORT_SYMBOL(sound_install_mixer);
......@@ -33,7 +31,6 @@ EXPORT_SYMBOL(sound_alloc_dma);
EXPORT_SYMBOL(sound_free_dma);
EXPORT_SYMBOL(sound_open_dma);
EXPORT_SYMBOL(sound_close_dma);
EXPORT_SYMBOL(sound_alloc_audiodev);
EXPORT_SYMBOL(sound_alloc_mididev);
EXPORT_SYMBOL(sound_alloc_mixerdev);
EXPORT_SYMBOL(sound_alloc_timerdev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment