mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Is this a bug related s3c24xx-spi-gpio driver
@ 2009-01-24  2:35 peter meng
  0 siblings, 0 replies; only message in thread
From: peter meng @ 2009-01-24  2:35 UTC (permalink / raw)
  To: linux-arm-kernel, linux-kernel

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 





      

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-24  2:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-24  2:35 Is this a bug related s3c24xx-spi-gpio driver peter meng

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