X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=sound%2Fppc%2Fpmac.c;h=c89e82eb06a6df91840c5863e8804d643db94e09;hb=049cdefe19f95b67b06b70915cd8e4ae7173337a;hp=844d76152ea271028654cdcc4767c41d2db0dffc;hpb=33ac02aa4cef417871e128ab4a6565e751e5f3b2;p=linux-2.6 diff --git a/sound/ppc/pmac.c b/sound/ppc/pmac.c index 844d76152e..c89e82eb06 100644 --- a/sound/ppc/pmac.c +++ b/sound/ppc/pmac.c @@ -765,7 +765,8 @@ snd_pmac_ctrl_intr(int irq, void *devid, struct pt_regs *regs) */ static void snd_pmac_sound_feature(pmac_t *chip, int enable) { - ppc_md.feature_call(PMAC_FTR_SOUND_CHIP_ENABLE, chip->node, 0, enable); + if (ppc_md.feature_call) + ppc_md.feature_call(PMAC_FTR_SOUND_CHIP_ENABLE, chip->node, 0, enable); } /*