Fix some sparse warnings:
drivers/gpu/drm/xilinx/xilinx_drm_fb.c:141:5: warning: symbol 'xilinx_drm_fb_helper_pan_display' was not declared. Should it be static?
drivers/gpu/drm/xilinx/xilinx_drm_fb.c:197:1: warning: symbol 'xilinx_drm_fb_ioctl' was not declared. Should it be static?
Signed-off-by: Hyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
return fb->obj[plane];
}
-int xilinx_drm_fb_helper_pan_display(struct fb_var_screeninfo *var,
- struct fb_info *info)
+static int xilinx_drm_fb_helper_pan_display(struct fb_var_screeninfo *var,
+ struct fb_info *info)
{
struct drm_fb_helper *fb_helper = info->par;
struct drm_device *dev = fb_helper->dev;
}
}
-int
+static int
xilinx_drm_fb_ioctl(struct fb_info *info, unsigned int cmd, unsigned long arg)
{
struct drm_fb_helper *fb_helper = info->par;