Commit 3009de60 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Staging: sm750fb: fix build warning with proc_panDisplay

Change the options to the proc_panDisplay function pointer to match the
function pointer that we want to assign to it, in order to remove the
build warning.

Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Cc: Teddy Wang <teddy.wang@siliconmotion.com>
Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
parent f8b0dced
...@@ -120,8 +120,9 @@ struct lynxfb_crtc{ ...@@ -120,8 +120,9 @@ struct lynxfb_crtc{
int(*proc_setColReg)(struct lynxfb_crtc*,ushort,ushort,ushort,ushort); int(*proc_setColReg)(struct lynxfb_crtc*,ushort,ushort,ushort,ushort);
void (*clear)(struct lynxfb_crtc*); void (*clear)(struct lynxfb_crtc*);
/* pan display */ /* pan display */
int(*proc_panDisplay)(struct lynxfb_crtc*, struct fb_var_screeninfo*, int (*proc_panDisplay)(struct lynxfb_crtc *,
struct fb_info*); const struct fb_var_screeninfo *,
const struct fb_info *);
/* cursor information */ /* cursor information */
struct lynx_cursor cursor; struct lynx_cursor cursor;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment