Re: [PATCH] visws: sgivwfb is module needs exports

From: James Simmons
Date: Fri Nov 17 2006 - 09:46:14 EST



Acked-by: James Simmons <jsimmons@xxxxxxxxxxxxx>

On Thu, 16 Nov 2006, Randy Dunlap wrote:

> From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
>
> With CONFIG_FB_SGIVW=m:
> WARNING: "sgivwfb_mem_size" [drivers/video/sgivwfb.ko] undefined!
> WARNING: "sgivwfb_mem_phys" [drivers/video/sgivwfb.ko] undefined!
>
> (or don't allow FB_SGIVW=m in Kconfig)
>
> Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> ---
> arch/i386/mach-visws/setup.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> --- linux-2619-rc6.orig/arch/i386/mach-visws/setup.c
> +++ linux-2619-rc6/arch/i386/mach-visws/setup.c
> @@ -6,6 +6,7 @@
> #include <linux/smp.h>
> #include <linux/init.h>
> #include <linux/interrupt.h>
> +#include <linux/module.h>
>
> #include <asm/fixmap.h>
> #include <asm/arch_hooks.h>
> @@ -142,6 +143,8 @@ void __init time_init_hook(void)
>
> unsigned long sgivwfb_mem_phys;
> unsigned long sgivwfb_mem_size;
> +EXPORT_SYMBOL(sgivwfb_mem_phys);
> +EXPORT_SYMBOL(sgivwfb_mem_size);
>
> long long mem_size __initdata = 0;
>
>
>
> ---
> -
> 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/
>
-
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/