aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-s3c2410/mach-gta01.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c2410/mach-gta01.c b/arch/arm/mach-s3c2410/mach-gta01.c
index a4384b694db..ff08449061b 100644
--- a/arch/arm/mach-s3c2410/mach-gta01.c
+++ b/arch/arm/mach-s3c2410/mach-gta01.c
@@ -530,6 +530,7 @@ static struct s3c2410_spigpio_info spi_gpio_cfg = {
.board_size = ARRAY_SIZE(gta01_spi_board_info),
.board_info = gta01_spi_board_info,
.chip_select = &spi_gpio_cs,
+ .num_chipselect = 2, /*** Should be 1 or 2 for gta01? ***/
};
static struct resource s3c_spi_lcm_resource[] = {
@@ -552,7 +553,7 @@ static struct resource s3c_spi_lcm_resource[] = {
};
struct platform_device s3c_device_spi_lcm = {
- .name = "s3c24xx-spi-gpio",
+ .name = "spi_s3c24xx_gpio",
.id = 1,
.num_resources = ARRAY_SIZE(s3c_spi_lcm_resource),
.resource = s3c_spi_lcm_resource,