From: yxj Date: Wed, 30 Jan 2013 08:11:33 +0000 (+0800) Subject: rk2928 rk30xx rk3188 lcdc: rename rk fb specified ioctl X-Git-Tag: firefly_0821_release~7681 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ebf7e1c74767193c98ecabb4c25881eebe20f6a7;p=firefly-linux-kernel-4.4.55.git rk2928 rk30xx rk3188 lcdc: rename rk fb specified ioctl --- diff --git a/drivers/video/rockchip/lcdc/rk2928_lcdc.c b/drivers/video/rockchip/lcdc/rk2928_lcdc.c index d43ce959d108..8f44dfefdf68 100644 --- a/drivers/video/rockchip/lcdc/rk2928_lcdc.c +++ b/drivers/video/rockchip/lcdc/rk2928_lcdc.c @@ -795,7 +795,7 @@ int rk2928_lcdc_ioctl(struct rk_lcdc_device_driver * dev_drv,unsigned int cmd, u 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)) diff --git a/drivers/video/rockchip/lcdc/rk3066b_lcdc.c b/drivers/video/rockchip/lcdc/rk3066b_lcdc.c index d30d29b286c8..a7eecd2c4717 100755 --- a/drivers/video/rockchip/lcdc/rk3066b_lcdc.c +++ b/drivers/video/rockchip/lcdc/rk3066b_lcdc.c @@ -638,7 +638,7 @@ int rk3066b_lcdc_ioctl(struct rk_lcdc_device_driver * dev_drv,unsigned int cmd, 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)) diff --git a/drivers/video/rockchip/lcdc/rk30_lcdc.c b/drivers/video/rockchip/lcdc/rk30_lcdc.c index f277a3345f0b..9b69bc60a0f1 100644 --- a/drivers/video/rockchip/lcdc/rk30_lcdc.c +++ b/drivers/video/rockchip/lcdc/rk30_lcdc.c @@ -911,7 +911,7 @@ int rk30_lcdc_ioctl(struct rk_lcdc_device_driver * dev_drv,unsigned int cmd, uns 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)) diff --git a/drivers/video/rockchip/lcdc/rk3188_lcdc.c b/drivers/video/rockchip/lcdc/rk3188_lcdc.c index 6d66d595d991..7122ec2dda16 100644 --- a/drivers/video/rockchip/lcdc/rk3188_lcdc.c +++ b/drivers/video/rockchip/lcdc/rk3188_lcdc.c @@ -779,7 +779,7 @@ static int rk3188_lcdc_ioctl(struct rk_lcdc_device_driver *dev_drv, unsigned int 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))