]> err.no Git - linux-2.6/blobdiff - sound/ppc/pmac.h
[PATCH] x86-64: reduce x86-64 bug frame by 4 bytes
[linux-2.6] / sound / ppc / pmac.h
index 0a84c05f714b2c27ff40b3e3f02ed61c925a94b2..ae3bb6c6edfffb0827c4e47e0a2cb4997e1cabb9 100644 (file)
@@ -167,7 +167,7 @@ struct snd_pmac {
        void (*set_format)(pmac_t *chip);
        void (*update_automute)(pmac_t *chip, int do_notify);
        int (*detect_headphone)(pmac_t *chip);
-#ifdef CONFIG_PMAC_PBOOK
+#ifdef CONFIG_PM
        void (*suspend)(pmac_t *chip);
        void (*resume)(pmac_t *chip);
 #endif
@@ -212,9 +212,4 @@ int snd_pmac_boolean_mono_info(snd_kcontrol_t *kcontrol, snd_ctl_elem_info_t *ui
 
 int snd_pmac_add_automute(pmac_t *chip);
 
-#define big_mdelay(msec) do {\
-       set_current_state(TASK_UNINTERRUPTIBLE);\
-       schedule_timeout(((msec) * HZ + 999) / 1000);\
-} while (0)
-
 #endif /* __PMAC_H */