Re: [PATCH 1/3] mfd: Fix compile errors and warnings when!CONFIG_AB8500_BM

From: Samuel Ortiz
Date: Mon Jan 21 2013 - 22:26:04 EST


Hi Lee,

On Wed, Jan 09, 2013 at 10:06:03AM +0000, Lee Jones wrote:
> drivers/mfd/ab8500-core.c:1015:21: error: âab8500_bm_dataâ undeclared here
>
> include/linux/mfd/abx500/ab8500-bm.h:445:13: warning: âab8500_fg_reinitâ defined but not used
> include/linux/mfd/abx500/ab8500-bm.h:448:13: warning: âab8500_charger_usb_state_changedâ defined but not used
> include/linux/mfd/abx500/ab8500-bm.h:451:29: warning: âab8500_btemp_getâ defined but not used
> include/linux/mfd/abx500/ab8500-bm.h:455:12: warning: âab8500_btemp_get_batctrl_tempâ defined but not used
> include/linux/mfd/abx500/ab8500-bm.h:463:12: warning: âab8500_fg_inst_curr_blockingâ defined but not used
> include/linux/mfd/abx500/ab8500-bm.h:442:12: warning: âab8500_fg_inst_curr_doneâ defined but not used
> include/linux/mfd/abx500/ab8500-bm.h:447:26: warning: âab8500_fg_getâ defined but not used
>
> Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
> ---
> drivers/mfd/ab8500-core.c | 1 +
> include/linux/mfd/abx500.h | 2 --
> include/linux/mfd/abx500/ab8500-bm.h | 29 ++++-------------------------
> 3 files changed, 5 insertions(+), 27 deletions(-)
Applied to my for-linus branch, thanks.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/