diff --git a/CHANGES b/CHANGES index db8af9c4..1b294f48 100644 --- a/CHANGES +++ b/CHANGES @@ -33,8 +33,8 @@ ask CVS about it: Modules ds1621, pcf8591: Check for capabilities before using them (Aurelien Jarno) Modules pcf8574, pcf8591: Cleanups + Modules ddcmon, eeprom: Fix bogus init (Ralf Roesch) Module adm1021: Better detection and initialization - Module eeprom: Fix bogus init (Ralf Roesch) Module pca9540: New driver for the Philips PCA9540 Module pc87360-fan: New driver for the National Semiconductor PC87360, PC87363 and PC87364 Super I/O chips diff --git a/kernel/chips/ddcmon.c b/kernel/chips/ddcmon.c index be0babc0..67d30b38 100644 --- a/kernel/chips/ddcmon.c +++ b/kernel/chips/ddcmon.c @@ -223,7 +223,7 @@ int ddcmon_detect(struct i2c_adapter *adapter, int address, } data = (struct ddcmon_data *) (new_client + 1); - memset(data, 0xff, DDCMON_SIZE); + memset(data->data, 0xff, DDCMON_SIZE); new_client->addr = address; new_client->data = data; new_client->adapter = adapter;