int ret = 0;
switch(cmd)
{
- case FBIOGET_PANEL_SIZE: //get panel size
+ case RK_FBIOGET_PANEL_SIZE: //get panel size
panel_size[0] = dev_drv->screen0->x_res;
panel_size[1] = dev_drv->screen0->y_res;
if(copy_to_user(argp, panel_size, 8))
int ret = 0;
switch(cmd)
{
- case FBIOGET_PANEL_SIZE: //get panel size
+ case RK_FBIOGET_PANEL_SIZE: //get panel size
panel_size[0] = lcdc_dev->screen->x_res;
panel_size[1] = lcdc_dev->screen->y_res;
if(copy_to_user(argp, panel_size, 8))
int enable;
switch(cmd)
{
- case FBIOGET_PANEL_SIZE: //get panel size
+ case RK_FBIOGET_PANEL_SIZE: //get panel size
panel_size[0] = dev_drv->screen0->x_res;
panel_size[1] = dev_drv->screen0->y_res;
if(copy_to_user(argp, panel_size, 8))
int enable;
switch(cmd)
{
- case FBIOGET_PANEL_SIZE: //get panel size
+ case RK_FBIOGET_PANEL_SIZE: //get panel size
panel_size[0] = lcdc_dev->screen->x_res;
panel_size[1] = lcdc_dev->screen->y_res;
if(copy_to_user(argp, panel_size, 8))