From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] fix pcm037_eet compilation with the new SPI driver
Date: Mon, 5 Oct 2009 14:19:36 +0200 [thread overview]
Message-ID: <20091005121936.GD23986@pengutronix.de> (raw)
In-Reply-To: <Pine.LNX.4.64.0910051001500.4337@axis700.grange>
Hi Guennadi,
On Mon, Oct 05, 2009 at 10:04:51AM +0200, Guennadi Liakhovetski wrote:
> At some point the SPI device name in arch/arm/mach-mx3/devices.c has
> changed, which then broke compilation of pcm037_eet with the new SPI
> driver. Use the correct name.
It didn't change, it was merged with imx_spi_device0. Can we change the
name in devices.[ch] instead? All other devices start with mxc_. Sorry,
my bad.
Sascha
>
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
> ---
> diff --git a/arch/arm/mach-mx3/pcm037_eet.c b/arch/arm/mach-mx3/pcm037_eet.c
> index 8d38600..dc6baf3 100644
> --- a/arch/arm/mach-mx3/pcm037_eet.c
> +++ b/arch/arm/mach-mx3/pcm037_eet.c
> @@ -184,7 +184,7 @@ static int eet_init_devices(void)
> /* SPI */
> spi_register_board_info(pcm037_spi_dev, ARRAY_SIZE(pcm037_spi_dev));
> #if defined(CONFIG_SPI_IMX) || defined(CONFIG_SPI_IMX_MODULE)
> - mxc_register_device(&mxc_spi_device0, &pcm037_spi1_master);
> + mxc_register_device(&imx_spi_device0, &pcm037_spi1_master);
> #endif
>
> platform_device_register(&pcm037_gpio_keys_device);
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2009-10-05 12:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-05 8:04 [PATCH] fix pcm037_eet compilation with the new SPI driver Guennadi Liakhovetski
2009-10-05 12:19 ` Sascha Hauer [this message]
2009-10-05 14:01 ` Valentin Longchamp
2009-10-05 14:49 ` [PATCH v2] " Guennadi Liakhovetski
2009-10-05 15:34 ` Valentin Longchamp
2009-10-06 6:48 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091005121936.GD23986@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).