diff options
author | Andy Green <andy@openmoko.com> | 2008-11-19 17:09:35 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-19 17:09:35 +0000 |
commit | 6bef71f4feffd7cad99b14edf952f4b360c63d34 (patch) | |
tree | 4a0c7523275c57ebee849a2b5183fc53c05c6fa3 /arch/arm/mach-s3c2440 | |
parent | 77762d03e4c8164fcfdd2cade4985a938687c3a2 (diff) |
add-pcb-rev-sysfs.patch
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'arch/arm/mach-s3c2440')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-gta02.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c index a2a63fee2aa..3574375a2e5 100644 --- a/arch/arm/mach-s3c2440/mach-gta02.c +++ b/arch/arm/mach-s3c2440/mach-gta02.c @@ -372,6 +372,11 @@ int gta02_get_pcb_revision(void) return u; } +struct platform_device gta02_version_device = { + .name = "neo1973-version", + .num_resources = 0, +}; + static struct map_desc gta02_iodesc[] __initdata = { { @@ -724,6 +729,7 @@ static struct platform_device *gta02_devices[] __initdata = { &s3c_device_ts, >a02_nor_flash, &sc32440_fiq_device, + >a02_version_device, }; static struct s3c2410_nand_set gta02_nand_sets[] = { |