Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 876e5a70 authored by Michel von Czettritz's avatar Michel von Czettritz Committed by Greg Kroah-Hartman
Browse files

staging: sm750: blank line after declaration



This patch fixes "WARNING: Missing a blank line after declaration"
checkpatch.pl warnings.

Signed-off-by: default avatarMichel von Czettritz <michel.von.czettritz@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3318bb5e
Loading
Loading
Loading
Loading
+14 −8
Original line number Original line Diff line number Diff line
@@ -156,6 +156,7 @@ static int lynxfb_ops_cursor(struct fb_info *info, struct fb_cursor *fbcursor)
	if (fbcursor->set & FB_CUR_SETCMAP) {
	if (fbcursor->set & FB_CUR_SETCMAP) {
		/* get the 16bit color of kernel means */
		/* get the 16bit color of kernel means */
		u16 fg, bg;
		u16 fg, bg;

		fg = ((info->cmap.red[fbcursor->image.fg_color] & 0xf800))|
		fg = ((info->cmap.red[fbcursor->image.fg_color] & 0xf800))|
		      ((info->cmap.green[fbcursor->image.fg_color] & 0xfc00) >> 5)|
		      ((info->cmap.green[fbcursor->image.fg_color] & 0xfc00) >> 5)|
		      ((info->cmap.blue[fbcursor->image.fg_color] & 0xf800) >> 11);
		      ((info->cmap.blue[fbcursor->image.fg_color] & 0xf800) >> 11);
@@ -620,9 +621,12 @@ static int lynxfb_ops_check_var(struct fb_var_screeninfo *var,
}
}




static int lynxfb_ops_setcolreg(unsigned regno, unsigned red,
static int lynxfb_ops_setcolreg(unsigned regno,
				unsigned green, unsigned blue,
				unsigned red,
				unsigned transp, struct fb_info *info)
				unsigned green,
				unsigned blue,
				unsigned transp,
				struct fb_info *info)
{
{
	struct lynxfb_par *par;
	struct lynxfb_par *par;
	struct lynxfb_crtc *crtc;
	struct lynxfb_crtc *crtc;
@@ -654,6 +658,7 @@ static int lynxfb_ops_setcolreg(unsigned regno, unsigned red,


	if (info->fix.visual == FB_VISUAL_TRUECOLOR && regno < 256) {
	if (info->fix.visual == FB_VISUAL_TRUECOLOR && regno < 256) {
		u32 val;
		u32 val;

		if (var->bits_per_pixel == 16 ||
		if (var->bits_per_pixel == 16 ||
		    var->bits_per_pixel == 32 ||
		    var->bits_per_pixel == 32 ||
		    var->bits_per_pixel == 24) {
		    var->bits_per_pixel == 24) {
@@ -1189,6 +1194,7 @@ static int lynxfb_pci_probe(struct pci_dev *pdev,
	} else {
	} else {
		struct lynxfb_par *par;
		struct lynxfb_par *par;
		int errno;
		int errno;

		pr_info("framebuffer #%d alloc okay\n", fbidx);
		pr_info("framebuffer #%d alloc okay\n", fbidx);
		share->fbinfo[fbidx] = info[fbidx];
		share->fbinfo[fbidx] = info[fbidx];
		par = info[fbidx]->par;
		par = info[fbidx]->par;