Added struct fiq_buffer *fiq_buf = (struct fiq_buffer*)cfa10049_fiq_data->fiq_base; to cfa10049_fiq_mmap() so that it would compile without errors.