]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/macintosh/therm_windtunnel.c
i2c: Add support for custom probe function
[karo-tx-linux.git] / drivers / macintosh / therm_windtunnel.c
index 5c9367acf0cf2c6a3411fe691f12540caab7ffd7..7d1bfeb6a82c42d6393d3bd20643b8609b3914d6 100644 (file)
@@ -322,10 +322,10 @@ do_attach( struct i2c_adapter *adapter )
 
                memset(&info, 0, sizeof(struct i2c_board_info));
                strlcpy(info.type, "therm_ds1775", I2C_NAME_SIZE);
-               i2c_new_probed_device(adapter, &info, scan_ds1775);
+               i2c_new_probed_device(adapter, &info, scan_ds1775, NULL);
 
                strlcpy(info.type, "therm_adm1030", I2C_NAME_SIZE);
-               i2c_new_probed_device(adapter, &info, scan_adm1030);
+               i2c_new_probed_device(adapter, &info, scan_adm1030, NULL);
 
                if( x.thermostat && x.fan ) {
                        x.running = 1;