Hi Rusty,
You are right, this was not for something in the kernel. I needed
ref_module to add some sort of dynamic dependency between modules but
this caused compile error when CONFIG_MODULES is not set. Another
option was using #ifdef CONFIG_MODULES check but the way in the patch
seemed correct t
On Wed, 1 Aug 2012 20:57:07 +0300, Barbaros Tokaoğlu
wrote:
> ref_module function is not defined when CONFIG_MODULES is not set thus
> it causes compile error when a module which is set to be built-in uses it.
> This patch defines a dummy ref_module function when CONFIG_MODULES
> is not set.
>
>
ref_module function is not defined when CONFIG_MODULES is not set thus
it causes compile error when a module which is set to be built-in uses it.
This patch defines a dummy ref_module function when CONFIG_MODULES
is not set.
Signed-off-by: Barbaros Tokaoğlu
---
include/linux/module.h |5
3 matches
Mail list logo