Re: [PATCH 1/3] libata: add missing PM callbacks

From: Tejun Heo
Date: Tue Mar 06 2007 - 03:13:57 EST


Pavel Machek wrote:
> Much complexity for little gain. Who is running _without_ CONFIG_PM
> these days?

Embedded people, I guess. The problem here is that if we are gonna
support !CONFIG_PM configuration and try to reduce the kernel/module
images size for such case, we end up sprinkling #ifdef's all over huge
number of device drivers.

If we determine to drop !CONFIG_PM configuration, I'm happy with that
too but we need to determine something here. Alternatives...

1. drop !CONFIG_PM configuration
2. continue to sprinkle #ifdef's over device drivers
3. find out prettier way to mark PM functions

--
tejun
-
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/