From: peter meng <mengsanshui@yahoo.com.cn>
To: linux-arm-kernel@lists.arm.linux.org.uk, linux-kernel@vger.kernel.org
Subject: Is this a bug related s3c24xx-spi-gpio driver
Date: Sat, 24 Jan 2009 10:35:35 +0800 (CST) [thread overview]
Message-ID: <494901.35869.qm@web15704.mail.cnb.yahoo.com> (raw)
HI,
The .name field is different between platform_device and platform_driver
in drivers/spi/spi_s3c24xx_gpio.c
static struct platform_driver s3c2410_spigpio_drv = {
.probe = s3c2410_spigpio_probe,
.remove = s3c2410_spigpio_remove,
.suspend = s3c2410_spigpio_suspend,
.resume = s3c2410_spigpio_resume,
.driver = {
.name = "spi_s3c24xx_gpio",
.owner = THIS_MODULE,
},
};
but
in arch/arm/mach-s3c2410/mach-qt2410.c
static struct platform_device qt2410_spi = {
.name = "s3c24xx-spi-gpio",
.id = 1,
.dev = {
.platform_data = &spi_gpio_cfg,
},
};
in arch/arm/mach-s3c2410/mach-jive.c
static struct platform_device jive_device_lcdspi = {
.name = "s3c24xx-spi-gpio",
.id = 1,
.num_resources = 0,
.dev.platform_data = &jive_lcd_spi,
};
in sound/soc/s3c24xx/ smdk2440_wm8956.c
smdk2440_spi_device = platform_device_alloc("s3c24xx-spi-gpio",-1);
Peter Meng
reply other threads:[~2009-01-24 2:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=494901.35869.qm@web15704.mail.cnb.yahoo.com \
--to=mengsanshui@yahoo.com.cn \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-kernel@vger.kernel.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
Powered by JetHome