RE: linux-next: build failure after merge of the battery tree

From: Arun MURTHY
Date: Sun Mar 25 2012 - 22:32:04 EST


> > > drivers/power/ab8500_btemp.c: In function
> 'ab8500_btemp_batctrl_volt_to_res':
> > > drivers/power/ab8500_btemp.c:142:2: error: implicit declaration of
> > > function 'is_ab8500_1p1_or_earlier'
> > > [-Werror=implicit-function-declaration]
> > > drivers/power/ab8500_btemp.c: In function
> 'ab8500_btemp_templow_handler':
> > > drivers/power/ab8500_btemp.c:619:2: error: implicit declaration of
> > > function 'is_ab8500_2p0_or_earlier'
> > > [-Werror=implicit-function-declaration]
> > > drivers/power/ab8500_charger.c: In function 'ab8500_charger_ac_en':
> > > drivers/power/ab8500_charger.c:1126:3: error: implicit declaration
> > > of function 'is_ab8500_1p1_or_earlier'
> > > [-Werror=implicit-function-declaration]
> > > drivers/power/ab8500_charger.c: In function
> 'ab8500_charger_remove':
> > > drivers/power/ab8500_charger.c:2519:2: error: implicit declaration
> > > of function 'usb_unregister_notifier'
> > > [-Werror=implicit-function-declaration]
> > > drivers/power/ab8500_charger.c:2520:2: error: implicit declaration
> > > of function 'usb_put_transceiver'
> > > [-Werror=implicit-function-declaration]
> > > drivers/power/ab8500_charger.c: In function 'ab8500_charger_probe':
> > > drivers/power/ab8500_charger.c:2688:2: error: implicit declaration
> > > of function 'usb_get_transceiver'
> > > [-Werror=implicit-function-declaration]
> > > drivers/power/ab8500_charger.c:2688:14: warning: assignment makes
> > > pointer from integer without a cast [enabled by default]
> > > drivers/power/ab8500_charger.c:2695:2: error: implicit declaration
> > > of function 'usb_register_notifier'
> > > [-Werror=implicit-function-declaration]
> > >
> > > Caused by commits 89449ac8d6d2 ("ab8500-charger: AB8500 charger
> > > driver") and 20ac1aed6206 ("ab8500-btemp: AB8500 battery
> temperature driver").
> > >
> > > I have used the battery tree form next-20120314 for today.
> >
> > Still getting this build failure.

There is a dependency with MFD tree. Please pull the MFD tree along with
these patches to overcome the build errors.

Thanks and Regards,
Arun R Murthy
-------------
--
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/