Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24363
b: refs/heads/master
c: c94ded6
h: refs/heads/master
i:
  24361: f32f6d3
  24359: 92edf71
v: v3
  • Loading branch information
Bjorn Helgaas authored and Linus Torvalds committed Mar 27, 2006
1 parent 2d9251d commit 65e188a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 38125956441c5cab28333414cee308d162507477
refs/heads/master: c94ded6e602594c8e66fd5b1ba832d5327f5c103
10 changes: 6 additions & 4 deletions trunk/sound/isa/wavefront/wavefront.c
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ snd_wavefront_probe (struct snd_card *card, int dev)
return snd_card_register(card);
}

static int __init snd_wavefront_nonpnp_probe(struct platform_device *pdev)
static int __devinit snd_wavefront_nonpnp_probe(struct platform_device *pdev)
{
int dev = pdev->id;
struct snd_card *card;
Expand Down Expand Up @@ -637,6 +637,7 @@ static struct platform_driver snd_wavefront_driver = {


#ifdef CONFIG_PNP
static unsigned int __devinitdata wavefront_pnp_devices;

static int __devinit snd_wavefront_pnp_detect(struct pnp_card_link *pcard,
const struct pnp_card_device_id *pid)
Expand Down Expand Up @@ -670,6 +671,7 @@ static int __devinit snd_wavefront_pnp_detect(struct pnp_card_link *pcard,

pnp_set_card_drvdata(pcard, card);
dev++;
wavefront_pnp_devices++;
return 0;
}

Expand Down Expand Up @@ -729,10 +731,10 @@ static int __init alsa_card_wavefront_init(void)
}

#ifdef CONFIG_PNP
i = pnp_register_card_driver(&wavefront_pnpc_driver);
if (i >= 0) {
err = pnp_register_card_driver(&wavefront_pnpc_driver);
if (!err) {
pnp_registered = 1;
cards += i;
cards += wavefront_pnp_devices;
}
#endif

Expand Down

0 comments on commit 65e188a

Please sign in to comment.