On Thu, Oct 9, 2014 at 3:47 PM, Tobias Klauser <tklauser@xxxxxxxxxx> wrote: >> +#if defined(CONFIG_FB) || defined(CONFIG_FB_MODULE) >> +#include <linux/fb.h> >> +unsigned long get_fb_unmapped_area(struct file *filp, unsigned long orig_addr, >> + unsigned long len, unsigned long pgoff, unsigned long flags) >> +{ >> + >> + struct fb_info *info = filp->private_data; >> + >> + return (unsigned long)info->screen_base; >> +} >> +EXPORT_SYMBOL(get_fb_unmapped_area); > > get_fb_unmapped_area only used if HAVE_ARCH_FB_UNMAPPED_AREA is defined, > but this isn't the case for nios2. AFAICS the altfb driver has been > broken on nios2 for a long time anyway, so I'd suggest to just remove > this function for now. Okay. Regards Ley Foon -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html