Re: pm_register should die

From: Andrew Morton
Date: Mon Sep 12 2005 - 04:46:34 EST


Pavel Machek <pavel@xxxxxx> wrote:
>
> +#ifdef CONFIG_OLD_PM
> if (pm_send_all(PM_SUSPEND, (void *)3)) {

Can we not do this without ifdefs?

#define pm_send_all(foo, bar) 0

?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/