[PATCH 2/4] set the correct driver for the i2c RTC

Jeremy J. Peper jeremy at jeremypeper.com
Fri Mar 17 08:43:45 PDT 2023


Original code was largely copy-pasted from the reference board code, adjust to use the actual RTC chip present on the TS-WXL.

Signed-off-by: Jeremy J. Peper <jeremy at jeremypeper.com>
---
 arch/arm/mach-mv78xx0/buffalo-wxl-setup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-mv78xx0/buffalo-wxl-setup.c b/arch/arm/mach-mv78xx0/buffalo-wxl-setup.c
index 383dc6eab..c3f6dc351 100644
--- a/arch/arm/mach-mv78xx0/buffalo-wxl-setup.c
+++ b/arch/arm/mach-mv78xx0/buffalo-wxl-setup.c
@@ -39,7 +39,7 @@ static struct mv_sata_platform_data db78x00_sata_data = {
 };
 
 static struct i2c_board_info __initdata db78x00_i2c_rtc = {
-	I2C_BOARD_INFO("ds1338", 0x68),
+	I2C_BOARD_INFO("rs5c372a", 0x32),
 };
 
 
-- 
2.30.2




More information about the linux-arm-kernel mailing list