[PATCH ] 2.5.4-pre2 i810_audio.c compile fix (was Fwd: Re: 2.5.3 won't compile (i810_audio))

From: Sergey S. Kostyliov (rathamahata@php4.ru)
Date: Thu Feb 07 2002 - 08:59:37 EST


Hello all,

This patch make drivers/sound/i810_audio.c to be compiled
Still needed and applies cleanly to 2.5.4-pre2

compiled, booted and tested on my pc.

--
			Best regards,
			Sergey S. Kostyliov <rathamahata@php4.ru>

---------- Forwarded message ----------

Subject: Re: 2.5.3 won't compile (i810_audio) Date: Wed, 30 Jan 2002 18:32:55 -0800 (PST) From: Ben Clifford <benc@hawaga.org.uk> To: Pawel Worach <pawel.worach@mysun.com> Cc: <linux-kernel@vger.kernel.org>, <dledford@redhat.com>

On Wed, 30 Jan 2002, Pawel Worach wrote: > The new i810_audio driver merged into 2.5.3 won't compile.

I made the following one line change, and it seems to be working.

--- drivers/sound/i810_audio.c-src Wed Jan 30 18:30:51 2002 +++ drivers/sound/i810_audio.c Wed Jan 30 18:22:39 2002 @@ -1669,7 +1669,7 @@ if (size > (PAGE_SIZE << dmabuf->buforder)) goto out; ret = -EAGAIN; - if (remap_page_range(vma->vm_start, virt_to_phys(dmabuf->rawbuf), + if (remap_page_range(vma, vma->vm_start, virt_to_phys(dmabuf->rawbuf), size, vma->vm_page_prot)) goto out; dmabuf->mapped = 1;

-- Ben Clifford benc@hawaga.org.uk GPG: 30F06950 Job Required in Los Angeles - Will do most things unix or IP for money. http://www.hawaga.org.uk/resume/resume001.pdf Live Ben-cam: http://barbarella.hawaga.org.uk/benc-cgi/watchers.cgi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:01:02 EST