I think that I recognize this issue. There is a direct call into a
driver to get the device handle. If you want to substitute that driver,
then the substitute driver needs to have that same global function.
There should be a better way to get that device handle than calling
directly into the driver.
Please provide more details. Device handle is something opaque on purpose and is only exposed in very limited manner. Which function do you have in mind?
On 6/2/16 12:17 PM, Vladimir 'phcoder' Serbinenko wrote:
> No. And you shouldn't have the 2 different global functions named. Why
> can't you just rename one of the functions?
> Le jeu. 2 juin 2016 21:16, Mat Troi <address@hidden
> <mailto:address@hidden>> a écrit :
> If there are two modules that have the same function names. Is
> there a way to force a 3rd module to pick up the right dependency?
> For example:
> Mod A and mod B both contain function_foo
> Mod C uses function_foo.
> Right now, mod C is using function_foo in mod B, is there a way I
> can force mod C to use function_foo in mod A?
> Mat Troi
Grub-devel mailing list