From: Takashi Iwai Subject: Re: Support for platform bus Date: Thu, 01 Sep 2005 16:44:25 +0200 Message-ID: References: <1125531756.3348.11.camel@mayday.localdomain> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <1125531756.3348.11.camel@mayday.localdomain> 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: Adrian McMenamin Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Thu, 01 Sep 2005 00:42:36 +0100, Adrian McMenamin wrote: > > I am attempting to write an ALSA driver for the sound card on the > Dreamcast. > > I have this in the code: > > snd_card_set_dev(dreamcastcard, &platform_bus); The second argument is the pointer to struct device. You should have got a compiler warning about pointer cast. Takashi ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf