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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Acked-by: James Simmons <[email protected]>

On Thu, 16 Nov 2006, Randy Dunlap wrote:

> From: Randy Dunlap <[email protected]>
> 
> 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 <[email protected]>
> ---
>  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 [email protected]
> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux