RE: [PATCH 1/6] ab8500_charger: Convert to the new USB OTG calls

From: Arun MURTHY
Date: Wed Mar 14 2012 - 00:03:59 EST



> This patch fixes the following build errors:
>
> ab8500_charger.c: In function 'ab8500_charger_remove':
> ab8500_charger.c:2519:2: error: implicit declaration of function
> 'otg_unregister_notifier' [-Werror=implicit-function-declaration]
> ab8500_charger.c:2520:2: error: implicit declaration of function
> 'otg_put_transceiver' [-Werror=implicit-function-declaration]
> ab8500_charger.c: In function 'ab8500_charger_probe':
> ab8500_charger.c:2688:2: error: implicit declaration of function
> 'otg_get_transceiver' [-Werror=implicit-function-declaration]
> ab8500_charger.c:2688:10: warning: assignment makes pointer from
> integer without a cast [enabled by default]
> ab8500_charger.c:2695:2: error: implicit declaration of function
> 'otg_register_notifier' [-Werror=implicit-function-declaration]
>
> Signed-off-by: Anton Vorontsov <anton.vorontsov@xxxxxxxxxx>
> ---

Signed-off-by: Arun Murthy <arun.murthy@xxxxxxxxxxxxxx>
èº{.nÇ+‰·Ÿ®‰­†+%ŠËlzwm…ébëæìr¸›zX§»®w¥Š{ayºÊÚë,j­¢f£¢·hš‹àz¹®w¥¢¸ ¢·¦j:+v‰¨ŠwèjØm¶Ÿÿ¾«‘êçzZ+ƒùšŽŠÝj"ú!¶iO•æ¬z·švØ^¶m§ÿðà nÆàþY&—