Robin, 

Those arch specific code is removed from this file in upstream:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=10eb2659cc6059d0c4de2e2c66d1534091519f56

maybe this patch should update the include/asm-blackfin/fb.h, right?

Thanks
-Bryan Wu


On Wed, 2007-12-12 at 03:29 +0800, [EMAIL PROTECTED] wrote:
> Revision
>         4027
> Author
>         rgetz
> Date
>         2007-12-11 13:29:52 -0600 (Tue, 11 Dec 2007)
> Log Message
> [#2424] get rid of the warning, and add Blackfin to the list of archs
> Diffstat
> fbmem.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> Modified Paths
>       * trunk/drivers/video/fbmem.c
> Diff
> Modified: trunk/drivers/video/fbmem.c (4026 => 4027)
> 
> --- trunk/drivers/video/fbmem.c       2007-12-11 15:02:59 UTC (rev 4026)
> +++ trunk/drivers/video/fbmem.c       2007-12-11 19:29:52 UTC (rev 4027)
> @@ -1161,7 +1161,7 @@
>       struct fb_info *info = registered_fb[fbidx];
>       struct fb_ops *fb = info->fbops;
>       unsigned long off;
> -#if !defined(__sparc__) || defined(__sparc_v9__)
> +#if (!defined(__sparc__) || defined(__sparc_v9__)) && !defined(__bfin__)
>       unsigned long start;
>       u32 len;
>  #endif
> @@ -1179,7 +1179,7 @@
>               return res;
>       }
>  
> -#if defined(__sparc__) && !defined(__sparc_v9__)
> +#if (defined(__sparc__) && !defined(__sparc_v9__)) || defined(__bfin__)
>       /* Should never get here, all fb drivers should have their own
>          mmap routines */
>       return -EINVAL;
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to