diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2010-05-04 13:12:32 +0200 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-05-12 17:43:03 +0900 |
commit | 6cd82ffe0cd3836b32b29bd1436e5fd551957d54 (patch) | |
tree | d34f023240f7f456cf1c74a325afd15bce2ba2d4 /arch/arm/mach-s3c2410/mach-bast.c | |
parent | 7ebd467551ed6ae200d7835a84bbda0dcadaa511 (diff) | |
download | blackbird-op-linux-6cd82ffe0cd3836b32b29bd1436e5fd551957d54.tar.gz blackbird-op-linux-6cd82ffe0cd3836b32b29bd1436e5fd551957d54.zip |
ARM: SAMSUNG: Move HWMON from plat-s3c24xx to plat-samsung
Move HWMON platform definition from plat-s3c24xx to plat-samsung
and adjust mach-bast to use the new s3c_hwmon_set_platdata().
This allows usage of dev-hwmon by other Samsung SoCs.
Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c2410/mach-bast.c')
-rw-r--r-- | arch/arm/mach-s3c2410/mach-bast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c2410/mach-bast.c b/arch/arm/mach-s3c2410/mach-bast.c index 02b1b6220cba..c8786df72b9e 100644 --- a/arch/arm/mach-s3c2410/mach-bast.c +++ b/arch/arm/mach-s3c2410/mach-bast.c @@ -634,7 +634,7 @@ static void __init bast_map_io(void) s3c24xx_register_clocks(bast_clocks, ARRAY_SIZE(bast_clocks)); - s3c_device_hwmon.dev.platform_data = &bast_hwmon_info; + s3c_hwmon_set_platdata(&bast_hwmon_info); s3c24xx_init_io(bast_iodesc, ARRAY_SIZE(bast_iodesc)); s3c24xx_init_clocks(0); |