]> err.no Git - linux-2.6/blobdiff - sound/ppc/pmac.c
Merge branch 'drm-patches' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied...
[linux-2.6] / sound / ppc / pmac.c
index aa57170101fd44dd2a090b0acd2c302bbe00e3e8..f0794ef9d1ac06ffc404fcb353885a2e66593fea 100644 (file)
@@ -869,7 +869,7 @@ static int __init snd_pmac_detect(struct snd_pmac *chip)
 
        u32 layout_id = 0;
 
-       if (_machine != _MACH_Pmac)
+       if (!machine_is(powermac))
                return -ENODEV;
 
        chip->subframe = 0;