[lm-sensors] [PATCH] hwmon: Add LTC4245 driver

Jean Delvare khali at linux-fr.org
Tue Oct 21 14:50:37 CEST 2008


Oh, BTW... Your driver doesn't build:

drivers/hwmon/ltc4245.c: In function ‘ltc4245_get_current’:
drivers/hwmon/ltc4245.c:168: warning: function declaration isn’t a prototype
drivers/hwmon/ltc4245.c:168: error: conflicting types for ‘get_current’
include/asm/current.h:24: error: previous definition of ‘get_current’ was here

Apparently get_current is a global symbol already so you will need to
come up with a different name. Prefixing your function names with the
driver name is usually a good way to protect against this.

Thanks,
-- 
Jean Delvare




More information about the lm-sensors mailing list