]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/pcmcia/pdaudiocf/pdaudiocf.c
Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm
[linux-2.6-omap-h63xx.git] / sound / pcmcia / pdaudiocf / pdaudiocf.c
index de683b08fe03af6b8b3527f292699f2ee9f12c5f..819aaaac432f839e5667b986142f6da609416d57 100644 (file)
@@ -18,7 +18,6 @@
  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
-#include <sound/driver.h>
 #include <sound/core.h>
 #include <linux/slab.h>
 #include <linux/moduleparam.h>
@@ -129,6 +128,8 @@ static int snd_pdacf_probe(struct pcmcia_device *link)
                return -ENODEV;
        }
 
+       snd_card_set_dev(card, &handle_to_dev(link));
+
        pdacf->index = i;
        card_list[i] = card;