> lm78.c and lm85.c have a number of items declared static > then implemented without the static on them. The following > patch fixes the sparse errors below > > CHECK drivers/hwmon/lm78.c > drivers/hwmon/lm78.c:483:5: warning: symbol 'lm78_detect' was not declared. Should it be static? > CHECK drivers/hwmon/lm85.c > drivers/hwmon/lm85.c:1010:5: warning: symbol 'lm85_attach_adapter' was not declared. Should it be static? > drivers/hwmon/lm85.c:1017:5: warning: symbol 'lm85_detect' was not declared. Should it be static? > drivers/hwmon/lm85.c:1239:5: warning: symbol 'lm85_detach_client' was not declared. Should it be static? > drivers/hwmon/lm85.c:1249:5: warning: symbol 'lm85_read_value' was not declared. Should it be static? > drivers/hwmon/lm85.c:1279:5: warning: symbol 'lm85_write_value' was not declared. Should it be static? > drivers/hwmon/lm85.c:1308:6: warning: symbol 'lm85_init_client' was not declared. Should it be static? Correct, applied, thanks. -- Jean Delvare