All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tommi Rantala <tt.rantala@gmail.com>
To: linux-omap@vger.kernel.org, linux-fbdev-devel@lists.sourceforge.net
Cc: Imre Deak <imre.deak@nokia.com>, Tony Lindgren <tony@atomide.com>,
	Siarhei Siamashka <siarhei.siamashka@nokia.com>,
	Rodrigo Vivi <rodrigo.vivi@openbossa.org>,
	Tommi Rantala <tt.rantala@gmail.com>
Subject: [PATCH] omapfb: Blizzard: fix pointer to be const
Date: Mon, 21 Sep 2009 15:47:22 +0300	[thread overview]
Message-ID: <1253537242-5300-1-git-send-email-tt.rantala@gmail.com> (raw)

Fixes a compiler warning:
warning: assignment discards qualifiers from pointer target type

Signed-off-by: Tommi Rantala <tt.rantala@gmail.com>
---
 drivers/video/omap/blizzard.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/omap/blizzard.c b/drivers/video/omap/blizzard.c
index d5e5955..ce28be6 100644
--- a/drivers/video/omap/blizzard.c
+++ b/drivers/video/omap/blizzard.c
@@ -191,7 +191,7 @@ struct blizzard_struct {
 
 	struct omapfb_device	*fbdev;
 	struct lcd_ctrl_extif	*extif;
-	struct lcd_ctrl		*int_ctrl;
+	const struct lcd_ctrl	*int_ctrl;
 
 	void			(*power_up)(struct device *dev);
 	void			(*power_down)(struct device *dev);
-- 
1.5.6.5


             reply	other threads:[~2009-09-21 12:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-21 12:47 Tommi Rantala [this message]
2009-10-02 21:59 ` [APPLIED] [PATCH] omapfb: Blizzard: fix pointer to be const Tony Lindgren

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=1253537242-5300-1-git-send-email-tt.rantala@gmail.com \
    --to=tt.rantala@gmail.com \
    --cc=imre.deak@nokia.com \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=linux-omap@vger.kernel.org \
    --cc=rodrigo.vivi@openbossa.org \
    --cc=siarhei.siamashka@nokia.com \
    --cc=tony@atomide.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.