From: Giuliano Pochini Subject: [PATCH] fix typos in writing-an-alsa-driver Date: Wed, 25 Jan 2006 22:10:06 +0100 Message-ID: <20060125221006.62102b50.pochini@shiny.it> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Alsa-devel List-Id: alsa-devel@alsa-project.org Signed-off-by: Giuliano Pochini --- alsa-kernel/Documentation/DocBook/writing-an-alsa-driver.tmpl__orig 2006-01-25 21:55:07.000000000 +0100 +++ alsa-kernel/Documentation/DocBook/writing-an-alsa-driver.tmpl 2006-01-25 22:02:40.000000000 +0100 @@ -5206,14 +5206,14 @@ You need to pass the snd_dma_pci_data(pci), where pci is the struct pci_dev pointer of the chip as well. - The snd_sg_buf_t instance is created as + The struct snd_sg_buf instance is created as substream->dma_private. You can cast the pointer like: dma_private; + struct snd_sg_buf *sgbuf = (struct snd_sg_buf *)substream->dma_private; ]]> -- Giuliano. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642