getting rid of inter_module_xx

From: Jon Smirl
Date: Fri Oct 22 2004 - 23:26:50 EST


I'm looking at getting rid of DRM's use of inter_module_xx. DRM makes
use of this to locate and use the AGP module. AGP is an optional
module since some system only have PCI graphics.

Right now DRM uses inter_module_get("AGP") to locate the module if it
exists. It then changes behavior if this call secedes or fails.

If I remove inter_module_get("AGP") and use the symbols directly, such
as agp_backend_acquire(), how do I resolve the symbol link when AGP is
not loaded? If the symbols link as NULL DRM will see that and act
correctly.

--
Jon Smirl
jonsmirl@xxxxxxxxx
-
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/