X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=sound%2Fsoc%2Fsamsung%2Fac97.c;h=16521e3ffc0c5af67712c1cdc1cd3c00e4ad501a;hb=32aaeffbd4a7457bf2f7448b33b5946ff2a960eb;hp=b4f9b000368501301672a2f073eb86cc12711252;hpb=c9312209aa9fdef05b03d63bbead63bb720fd133;p=~andy%2Flinux diff --git a/sound/soc/samsung/ac97.c b/sound/soc/samsung/ac97.c index b4f9b000368..16521e3ffc0 100644 --- a/sound/soc/samsung/ac97.c +++ b/sound/soc/samsung/ac97.c @@ -15,6 +15,7 @@ #include #include #include +#include #include @@ -450,7 +451,7 @@ static __devinit int s3c_ac97_probe(struct platform_device *pdev) } ret = request_irq(irq_res->start, s3c_ac97_irq, - IRQF_DISABLED, "AC97", NULL); + 0, "AC97", NULL); if (ret < 0) { dev_err(&pdev->dev, "ac97: interrupt request failed.\n"); goto err4; @@ -501,7 +502,7 @@ static __devexit int s3c_ac97_remove(struct platform_device *pdev) static struct platform_driver s3c_ac97_driver = { .probe = s3c_ac97_probe, - .remove = s3c_ac97_remove, + .remove = __devexit_p(s3c_ac97_remove), .driver = { .name = "samsung-ac97", .owner = THIS_MODULE,