* Alsa Constructor - Component probe
*/
-struct cx23885_audio_dev *cx23885_audio_initdev(struct cx23885_dev *dev)
+struct cx23885_audio_dev *cx23885_audio_register(struct cx23885_dev *dev)
{
struct snd_card *card;
struct cx23885_audio_dev *chip;
/*
* ALSA destructor
*/
-void cx23885_audio_finidev(struct cx23885_dev *dev)
+void cx23885_audio_unregister(struct cx23885_dev *dev)
{
struct cx23885_audio_dev *chip = dev->audio_dev;
}
if (dev->audio_dev)
- cx23885_audio_finidev(dev);
+ cx23885_audio_unregister(dev);
}
int cx23885_video_register(struct cx23885_dev *dev)
dev->name, video_device_node_name(dev->video_dev));
/* Register ALSA audio device */
- dev->audio_dev = cx23885_audio_initdev(dev);
+ dev->audio_dev = cx23885_audio_register(dev);
/* initial device configuration */
mutex_lock(&dev->lock);
/* ----------------------------------------------------------- */
/* cx23885-alsa.c */
-extern struct cx23885_audio_dev *cx23885_audio_initdev(struct cx23885_dev *dev);
-extern void cx23885_audio_finidev(struct cx23885_dev *dev);
+extern struct cx23885_audio_dev *cx23885_audio_register(
+ struct cx23885_dev *dev);
+extern void cx23885_audio_unregister(struct cx23885_dev *dev);
extern int cx23885_audio_irq(struct cx23885_dev *dev, u32 status, u32 mask);
extern int cx23885_risc_databuffer(struct pci_dev *pci,
struct btcx_riscmem *risc,