aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/oxygen/oxygen_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/oxygen/oxygen_lib.c')
-rw-r--r--sound/pci/oxygen/oxygen_lib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/oxygen/oxygen_lib.c b/sound/pci/oxygen/oxygen_lib.c
index 9c81e0b05113..b5560fa5a5e3 100644
--- a/sound/pci/oxygen/oxygen_lib.c
+++ b/sound/pci/oxygen/oxygen_lib.c
@@ -452,6 +452,7 @@ static void oxygen_card_free(struct snd_card *card)
452} 452}
453 453
454int oxygen_pci_probe(struct pci_dev *pci, int index, char *id, 454int oxygen_pci_probe(struct pci_dev *pci, int index, char *id,
455 struct module *owner,
455 const struct oxygen_model *model, 456 const struct oxygen_model *model,
456 unsigned long driver_data) 457 unsigned long driver_data)
457{ 458{
@@ -459,7 +460,7 @@ int oxygen_pci_probe(struct pci_dev *pci, int index, char *id,
459 struct oxygen *chip; 460 struct oxygen *chip;
460 int err; 461 int err;
461 462
462 err = snd_card_create(index, id, model->owner, 463 err = snd_card_create(index, id, owner,
463 sizeof(*chip) + model->model_data_size, &card); 464 sizeof(*chip) + model->model_data_size, &card);
464 if (err < 0) 465 if (err < 0)
465 return err; 466 return err;