sc->private_free = NULL;
}
-static int __init snd_cx18_card_create(struct v4l2_device *v4l2_dev,
+static int snd_cx18_card_create(struct v4l2_device *v4l2_dev,
struct snd_card *sc,
struct snd_cx18_card **cxsc)
{
return 0;
}
-static int __init snd_cx18_card_set_names(struct snd_cx18_card *cxsc)
+static int snd_cx18_card_set_names(struct snd_cx18_card *cxsc)
{
struct cx18 *cx = to_cx18(cxsc->v4l2_dev);
struct snd_card *sc = cxsc->sc;
return 0;
}
-static int __init snd_cx18_init(struct v4l2_device *v4l2_dev)
+static int snd_cx18_init(struct v4l2_device *v4l2_dev)
{
struct cx18 *cx = to_cx18(v4l2_dev);
struct snd_card *sc = NULL;
return 0;
}
-static void snd_cx18_exit(struct snd_cx18_card *cxsc)
+static void __exit snd_cx18_exit(struct snd_cx18_card *cxsc)
{
struct cx18 *cx = to_cx18(cxsc->v4l2_dev);
cx->alsa = NULL;
}
-static int cx18_alsa_exit_callback(struct device *dev, void *data)
+static int __exit cx18_alsa_exit_callback(struct device *dev, void *data)
{
struct v4l2_device *v4l2_dev = dev_get_drvdata(dev);
struct snd_cx18_card *cxsc;
return 0;
}
-static void cx18_alsa_exit(void)
+static void __exit cx18_alsa_exit(void)
{
struct device_driver *drv;
int ret;