universal.c: In function 'into_charge_mode':
universal.c:1080: warning: assignment makes integer from pointer without a cast
universal.c:1089: warning: implicit declaration of function 'free'
universal.c: In function 'max8998_power_key':
universal.c:1045: warning: control reaches end of non-void function
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
#include <common.h>
#include <i2c.h>
#include <common.h>
#include <i2c.h>
#include <asm/io.h>
#include <asm/arch/clk.h>
#include <asm/arch/clock.h>
#include <asm/io.h>
#include <asm/arch/clk.h>
#include <asm/arch/clock.h>
printf("MAX8998 IRQ1 = 0x%x\n", val[0]);
if (val[0] & (1 << 6))
return 1;
printf("MAX8998 IRQ1 = 0x%x\n", val[0]);
if (val[0] & (1 << 6))
return 1;
static void into_charge_mode(void)
{
unsigned char addr = 0xCC >> 1; /* max8998 */;
static void into_charge_mode(void)
{
unsigned char addr = 0xCC >> 1; /* max8998 */;
level = CHARGER_ANIMATION_FRAME - 1;
for (i = 0; i < CHARGER_ANIMATION_FRAME; i++)
level = CHARGER_ANIMATION_FRAME - 1;
for (i = 0; i < CHARGER_ANIMATION_FRAME; i++)
- bmp_addr[i] = battery_charging_animation[i];
+ bmp_addr[i] = (ulong)battery_charging_animation[i];
lcd_display_clear();
for (i = 0; i < 3; i++) {
lcd_display_clear();
for (i = 0; i < 3; i++) {