[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: N2100 kernel building



* Riku Voipio <riku.voipio@iki.fi> [2007-07-04 19:40]:
> The only important patch not in mainline is the hwmon driver
> (temperature sensors and fans):

You also need the hack below to get RTC going.  A real solution for
this will go into 2.6.23.

Autodetect the RTC chip.

--- a/drivers/rtc/rtc-rs5c372.c
+++ b/drivers/rtc/rtc-rs5c372.c
@@ -16,7 +16,7 @@ #include <linux/bcd.h>
 #define DRV_VERSION "0.3"
 
 /* Addresses to scan */
-static unsigned short normal_i2c[] = { /* 0x32,*/ I2C_CLIENT_END };
+static unsigned short normal_i2c[] = { 0x32, I2C_CLIENT_END };
 
 /* Insmod parameters */
 I2C_CLIENT_INSMOD;

-- 
Martin Michlmayr
http://www.cyrius.com/



Reply to: