commit | 53c1c20fb8d615992e3c2f76646d6af9492dd18d | [log] [tgz] |
---|---|---|
author | David Hendricks <dhendrix@chromium.org> | Mon Feb 06 15:36:50 2012 -0800 |
committer | David Hendricks <dhendrix@chromium.org> | Mon Feb 06 15:40:23 2012 -0800 |
tree | e64019bcc0d31cd03b3a05f47d67195f60a32a62 | |
parent | 201de29820168f2ce657bfec90c8830cac55d54f [diff] |
Additional compilation fix-ups for non-LM4 targets - Add #ifdef CONFIG_TEMP_SENSOR before #include'ing temp_sensor.h which actually requires temp_sensor_id to be defined. Revert the forward declare used earlier since it is not the correct solution in this case. - Add #ifdef CONFIG_CHARGER before calling charger_init() Signed-off-by: David Hendricks <dhendrix@chromium.org> BUG=None TEST=compiled on both BDS and Discovery Change-Id: I60b7e4ba91eb958b3ad724cc9ffa9a12fe9c3a71