Re: [PATCH] Suspend2 Merge: Driver model patches 1/2

From: Christoph Hellwig
Date: Fri Sep 17 2004 - 02:27:50 EST


> +struct partial_device_tree default_device_tree =
> +{
> + .dpm_active = LIST_HEAD_INIT(default_device_tree.dpm_active),
> + .dpm_off = LIST_HEAD_INIT(default_device_tree.dpm_off),
> + .dpm_off_irq = LIST_HEAD_INIT(default_device_tree.dpm_off_irq),
> +};
> +EXPORT_SYMBOL(default_device_tree);


_never_ exports lists, only accessory funktions. But honestly please get
some builtin code merged first, then think about making it modular.

We don't want to add random exports just to see them never used later on.
-
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/