Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187677
b: refs/heads/master
c: 0fe1309
h: refs/heads/master
i:
  187675: 4abdd17
v: v3
  • Loading branch information
Vasily Khoruzhick authored and Ben Dooks committed Feb 24, 2010
1 parent 604590e commit ffd9dff
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7965b214bfbe0e6b3dc843cd1d639dc2711ff86e
refs/heads/master: 0fe1309b4db2a994d0b8347cea034cf58cb4b312
18 changes: 18 additions & 0 deletions trunk/arch/arm/plat-s3c24xx/devs.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,27 @@ void __init s3c24xx_fb_set_platdata(struct s3c2410fb_mach_info *pd)
}

/* Touchscreen */

static struct resource s3c_ts_resource[] = {
[0] = {
.start = S3C24XX_PA_ADC,
.end = S3C24XX_PA_ADC + S3C24XX_SZ_ADC - 1,
.flags = IORESOURCE_MEM,
},
[1] = {
.start = IRQ_TC,
.end = IRQ_TC,
.flags = IORESOURCE_IRQ,
},

};

struct platform_device s3c_device_ts = {
.name = "s3c2410-ts",
.id = -1,
.dev.parent = &s3c_device_adc.dev,
.num_resources = ARRAY_SIZE(s3c_ts_resource),
.resource = s3c_ts_resource,
};
EXPORT_SYMBOL(s3c_device_ts);

Expand Down

0 comments on commit ffd9dff

Please sign in to comment.