Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24359
b: refs/heads/master
c: ebdb71e
h: refs/heads/master
i:
  24357: 7fe6db6
  24355: f1318bd
  24351: 08fa7ec
v: v3
  • Loading branch information
Bjorn Helgaas authored and Linus Torvalds committed Mar 27, 2006
1 parent 7a23254 commit 92edf71
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 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: 6a3a3a0260cf5a4e5942db8d56cae4db4dc139a6
refs/heads/master: ebdb71ea7b384ff3f32dd038dba0aad58580e832
12 changes: 7 additions & 5 deletions trunk/sound/isa/gus/interwave.c
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ static int __devinit snd_interwave_probe(struct snd_card *card, int dev)
return 0;
}

static int __init snd_interwave_nonpnp_probe1(int dev, struct platform_device *devptr)
static int __devinit snd_interwave_nonpnp_probe1(int dev, struct platform_device *devptr)
{
struct snd_card *card;
int err;
Expand All @@ -809,7 +809,7 @@ static int __init snd_interwave_nonpnp_probe1(int dev, struct platform_device *d
return 0;
}

static int __init snd_interwave_nonpnp_probe(struct platform_device *pdev)
static int __devinit snd_interwave_nonpnp_probe(struct platform_device *pdev)
{
int dev = pdev->id;
int err;
Expand Down Expand Up @@ -867,6 +867,7 @@ static struct platform_driver snd_interwave_driver = {
};

#ifdef CONFIG_PNP
static unsigned int __devinitdata interwave_pnp_devices;

static int __devinit snd_interwave_pnp_detect(struct pnp_card_link *pcard,
const struct pnp_card_device_id *pid)
Expand Down Expand Up @@ -897,6 +898,7 @@ static int __devinit snd_interwave_pnp_detect(struct pnp_card_link *pcard,
}
pnp_set_card_drvdata(pcard, card);
dev++;
interwave_pnp_devices++;
return 0;
}

Expand Down Expand Up @@ -954,10 +956,10 @@ static int __init alsa_card_interwave_init(void)
}

/* ISA PnP cards */
i = pnp_register_card_driver(&interwave_pnpc_driver);
if (i >= 0) {
err = pnp_register_card_driver(&interwave_pnpc_driver);
if (!err) {
pnp_registered = 1;
cards += i;
cards += interwave_pnp_devices;;
}

if (!cards) {
Expand Down

0 comments on commit 92edf71

Please sign in to comment.