]> Pileus Git - ~andy/linux/blobdiff - sound/spi/at73c213.c
[ALSA] Add __devinit macro to at73c213 sound driver probe functions
[~andy/linux] / sound / spi / at73c213.c
index 89d6e9c351405c8d186176d7b80454d24153ad24..b8860b26fc62cc735dd3b72cf80f4c9f98b9d8b9 100644 (file)
@@ -737,7 +737,7 @@ cleanup:
 /*
  * Device functions
  */
-static int snd_at73c213_ssc_init(struct snd_at73c213 *chip)
+static int __devinit snd_at73c213_ssc_init(struct snd_at73c213 *chip)
 {
        /*
         * Continuous clock output.
@@ -767,7 +767,7 @@ static int snd_at73c213_ssc_init(struct snd_at73c213 *chip)
        return 0;
 }
 
-static int snd_at73c213_chip_init(struct snd_at73c213 *chip)
+static int __devinit snd_at73c213_chip_init(struct snd_at73c213 *chip)
 {
        int retval;
        unsigned char dac_ctrl = 0;
@@ -933,7 +933,7 @@ out:
        return retval;
 }
 
-static int snd_at73c213_probe(struct spi_device *spi)
+static int __devinit snd_at73c213_probe(struct spi_device *spi)
 {
        struct snd_card                 *card;
        struct snd_at73c213             *chip;