22.11.2012 12:22, Kukjin Kim пишет:
SPI1). I've solved it with board specific code, but it is not most
correct way, i think.

Hmm, if provided platform_device is in plat-samsung/devs.c cannot support, we 
can do as you said temporarily but we know it's wrong way because the value 
depends on SoC not board.

How about following?

8<--------------------------------
diff --git a/arch/arm/mach-s3c24xx/s3c2443.c b/arch/arm/mach-s3c24xx/s3c2443.c
index 165b6a6..22eead3 100644
--- a/arch/arm/mach-s3c24xx/s3c2443.c
+++ b/arch/arm/mach-s3c24xx/s3c2443.c
@@ -82,6 +82,10 @@ int __init s3c2443_init(void)
        s3c_device_wdt.resource[1].start = IRQ_S3C2443_WDT;
        s3c_device_wdt.resource[1].end   = IRQ_S3C2443_WDT;

+       /* change SPI IRQ number */
+       s3c_device_spi0.resource[1].start = IRQ_SPI1;
+       s3c_device_spi0.resource[1].end = IRQ_SPI1;
+
        return device_register(&s3c2443_dev);
  }
8<--------------------------------

K-Gene <[email protected]>

Yes, that is a fix. Thanks.

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to