diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-06-03 15:08:39 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-06-16 18:30:50 -0400 |
commit | d06a49eec97718949acfdc26110701d28b1872c0 (patch) | |
tree | a16611fab7a9a97b830f5c4576632df2460c0a77 /arch/arm/plat-s3c/dev-audio.c | |
parent | 52da219e9664e537a745877b0efa7cf2b1ff2996 (diff) |
[ARM] S3C64XX: Add device for IISv4 port
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c/dev-audio.c')
-rw-r--r-- | arch/arm/plat-s3c/dev-audio.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c/dev-audio.c b/arch/arm/plat-s3c/dev-audio.c index ccdd81584310..1322beb40dd7 100644 --- a/arch/arm/plat-s3c/dev-audio.c +++ b/arch/arm/plat-s3c/dev-audio.c | |||
@@ -50,3 +50,19 @@ struct platform_device s3c64xx_device_iis1 = { | |||
50 | .resource = s3c64xx_iis1_resource, | 50 | .resource = s3c64xx_iis1_resource, |
51 | }; | 51 | }; |
52 | EXPORT_SYMBOL(s3c64xx_device_iis1); | 52 | EXPORT_SYMBOL(s3c64xx_device_iis1); |
53 | |||
54 | static struct resource s3c64xx_iisv4_resource[] = { | ||
55 | [0] = { | ||
56 | .start = S3C64XX_PA_IISV4, | ||
57 | .end = S3C64XX_PA_IISV4 + 0x100 - 1, | ||
58 | .flags = IORESOURCE_MEM, | ||
59 | }, | ||
60 | }; | ||
61 | |||
62 | struct platform_device s3c64xx_device_iisv4 = { | ||
63 | .name = "s3c64xx-iis-v4", | ||
64 | .id = -1, | ||
65 | .num_resources = ARRAY_SIZE(s3c64xx_iisv4_resource), | ||
66 | .resource = s3c64xx_iisv4_resource, | ||
67 | }; | ||
68 | EXPORT_SYMBOL(s3c64xx_device_iisv4); | ||