2.6.6-mm2: bk-driver-core-module-fix.patch no longer required

From: Adrian Bunk
Date: Thu May 13 2004 - 09:02:12 EST


On Thu, May 13, 2004 at 03:42:23PM +0200, Paolo Ornati wrote:
> On Thursday 13 May 2004 12:27, Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.6/2.6.6
> >-mm2/
>
> CC kernel/module.o
> kernel/module.c:730: error: redefinition of `add_attribute'
> kernel/module.c:382: error: `add_attribute' previously defined here
> kernel/module.c:382: warning: `add_attribute' defined but not used
> make[1]: *** [kernel/module.o] Error 1
> make: *** [kernel] Error 2

bk-driver-core-module-fix.patch is no longer required (a different fix
is in bk-driver-core.patch).

Simply _revert_ the patch below.

> bye
>
> --
> Paolo Ornati

cu
Adrian




--- 25/kernel/module.c~bk-driver-core-module-fix 2004-05-10 04:47:54.697175440 -0700
+++ 25-akpm/kernel/module.c 2004-05-10 04:47:54.701174832 -0700
@@ -726,6 +726,12 @@ static inline int sysfs_unload_setup(str
{
return 0;
}
+
+static int add_attribute(struct module *mod, struct kernel_param *kp)
+{
+ return 0;
+}
+
#endif /* CONFIG_MODULE_UNLOAD */

#ifdef CONFIG_OBSOLETE_MODPARM

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