From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from opensource2.wolfsonmicro.com (unknown [80.75.67.52]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 23256DDE2B for ; Tue, 8 Jan 2008 23:45:02 +1100 (EST) Subject: Re: [PATCH v2] [POWERPC] Update MPC8610 HPCD to support audio drivers From: Liam Girdwood To: Stephen Rothwell In-Reply-To: <20080108115654.d0ac909b.sfr@canb.auug.org.au> References: <1199732204949-git-send-email-timur@freescale.com> <1199732204578-git-send-email-timur@freescale.com> <20080108115654.d0ac909b.sfr@canb.auug.org.au> Content-Type: text/plain Date: Tue, 08 Jan 2008 12:39:14 +0000 Message-Id: <1199795954.19903.76.camel@localhost.localdomain> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org, alsa-devel@alsa-project.org, Timur Tabi List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2008-01-08 at 11:56 +1100, Stephen Rothwell wrote: > Hi Timur, > > On Mon, 7 Jan 2008 12:56:43 -0600 Timur Tabi wrote: > > > > +++ b/arch/powerpc/platforms/86xx/mpc8610_hpcd.c > > @@ -34,9 +34,27 @@ > > > > #include > > > > +#include > > #include > > #include > > > > +static struct of_device_id mpc8610_ids[] = { > > __initdata > > > + { .compatible = "fsl,mpc8610", }, > > + {} > > +}; > > + > > +static int __init mpc8610_declare_of_platform_devices(void) > > +{ > > + if (!machine_is(mpc86xx_hpcd)) > > + return 0; > > + > > + /* Without this call, the SSI device driver won't get probed. */ > > + of_platform_bus_probe(NULL, mpc8610_ids, NULL); > > + > > + return 0; > > +} > > +device_initcall(mpc8610_declare_of_platform_devices); > > We have machine_device_initcall for this now. > Now changed in ASoC dev branch. Liam