const struct linux_logo *logo;
} fb_logo __read_mostly;
+void show_charge_logo(struct linux_logo *logo)
+{
+ fb_logo.logo = logo;
+ return;
+}
+
static void fb_rotate_logo_ud(const u8 *in, u8 *out, u32 width, u32 height)
{
u32 size = width * height, i;
.early_suspend.level = EARLY_SUSPEND_LEVEL_DISABLE_FB,
};
#endif
-
+struct fb_info *g_inf = NULL; //add cym@rk 20101027 for charger logo
static int __init rk29fb_probe (struct platform_device *pdev)
{
struct rk29fb_inf *inf = NULL;
if (ret < 0)
goto release_cmap;
+ g_inf = inf->fb0; //add cym@rk 20101027
+
/* alloc win1 buf */
res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "win1 buf");
if (res == NULL)