diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2009-02-12 17:58:20 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-02-19 14:30:25 +0300 |
commit | 533ad5e60c0a5ff3cef7583b5b1b0eee84c2bda6 (patch) | |
tree | 8fee4ffecf0b42314d20d2a906c46938bad3c543 /arch/arm/mach-realview/realview_pb1176.c | |
parent | 2514cca06be9dc7ae12908085ebaf0ef49e6d8ae (diff) | |
download | linux-533ad5e60c0a5ff3cef7583b5b1b0eee84c2bda6.tar.xz |
[ARM] 5395/1: RealView: Add support for the DS1338 RTC chip
This chip is on the I2C bus on the RealView and Versatile boards. The
patch adds the i2c_board_info definition for this device and registers
it with the I2C subsystem.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-realview/realview_pb1176.c')
-rw-r--r-- | arch/arm/mach-realview/realview_pb1176.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-realview/realview_pb1176.c b/arch/arm/mach-realview/realview_pb1176.c index 8f0683c22140..d9d684d29e92 100644 --- a/arch/arm/mach-realview/realview_pb1176.c +++ b/arch/arm/mach-realview/realview_pb1176.c @@ -260,6 +260,7 @@ static void __init realview_pb1176_init(void) realview_flash_register(&realview_pb1176_flash_resource, 1); realview_eth_register(NULL, realview_pb1176_smsc911x_resources); + platform_device_register(&realview_i2c_device); for (i = 0; i < ARRAY_SIZE(amba_devs); i++) { struct amba_device *d = amba_devs[i]; |