]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - sound/ppc/powermac.c
backlight: backlight_device_register() return ERR_PTR()
[mv-sheeva.git] / sound / ppc / powermac.c
index 2e18ed0ea899f893e04c939d891b5010759e4afc..a2b69b8cff43f73d48674f894e1bd74884d68a7b 100644 (file)
@@ -51,7 +51,7 @@ static struct platform_device *device;
 /*
  */
 
-static int __init snd_pmac_probe(struct platform_device *devptr)
+static int __devinit snd_pmac_probe(struct platform_device *devptr)
 {
        struct snd_card *card;
        struct snd_pmac *chip;
@@ -110,7 +110,7 @@ static int __init snd_pmac_probe(struct platform_device *devptr)
                        goto __error;
                break;
        default:
-               snd_printk("unsupported hardware %d\n", chip->model);
+               snd_printk(KERN_ERR "unsupported hardware %d\n", chip->model);
                err = -EINVAL;
                goto __error;
        }