linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Dooks <ben-linux@fluff.org>
To: linux-fbdev-devel@lists.sourceforge.net
Cc: arnaud.patard@rtp-net.org
Subject: [PATCH] s3c2410fb - minor warning fix
Date: Mon, 26 Sep 2005 22:13:16 +0100	[thread overview]
Message-ID: <20050926211316.GA29631@home.fluff.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 635 bytes --]

The function s3c2410fb_activate_var does not return
a value, therefore it should be declared void.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>

--- ../linux-2.6.14/linux-2.6.14-rc2/drivers/video/s3c2410fb.c	2005-09-25 15:18:42.000000000 +0100
+++ linux-2.6.13-simtec2/drivers/video/s3c2410fb.c	2005-09-26 18:03:17.000000000 +0100
@@ -228,8 +228,8 @@
  * information
 */
 
-static int s3c2410fb_activate_var(struct s3c2410fb_info *fbi,
-				  struct fb_var_screeninfo *var)
+static void s3c2410fb_activate_var(struct s3c2410fb_info *fbi,
+				   struct fb_var_screeninfo *var)
 {
 	fbi->regs.lcdcon1 &= ~S3C2410_LCDCON1_MODEMASK;
 

[-- Attachment #2: s3c2410-fb-gcc4-fix1.patch --]
[-- Type: text/plain, Size: 487 bytes --]

--- ../linux-2.6.14/linux-2.6.14-rc2/drivers/video/s3c2410fb.c	2005-09-25 15:18:42.000000000 +0100
+++ linux-2.6.13-simtec2/drivers/video/s3c2410fb.c	2005-09-26 18:03:17.000000000 +0100
@@ -228,8 +228,8 @@
  * information
 */
 
-static int s3c2410fb_activate_var(struct s3c2410fb_info *fbi,
-				  struct fb_var_screeninfo *var)
+static void s3c2410fb_activate_var(struct s3c2410fb_info *fbi,
+				   struct fb_var_screeninfo *var)
 {
 	fbi->regs.lcdcon1 &= ~S3C2410_LCDCON1_MODEMASK;
 

                 reply	other threads:[~2005-09-26 21:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050926211316.GA29631@home.fluff.org \
    --to=ben-linux@fluff.org \
    --cc=arnaud.patard@rtp-net.org \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).