[PATCH] hwmon: Add LTC4245 driver

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

 



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




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux