From: Peter Huewe <peterhuewe@gmx.de>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>,
Paul Mundt <lethal@linux-sh.org>,
linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org,
peterhuewe@gmx.de, Stephen Rothwell <sfr@canb.auug.org.au>
Subject: [PATCH] video/atmel_lcdfb: Fix build failure/typo for avr32 defconfig
Date: Mon, 15 Aug 2011 19:26:30 +0200 [thread overview]
Message-ID: <1313429190-29275-1-git-send-email-peterhuewe@gmx.de> (raw)
This patch fixes a typo which causes this build failure for the
avr32 defconfig:
drivers/video/atmel_lcdfb.c:63: error: request for member 'xres_virtual'
in something not a structure or union
make[3]: *** [drivers/video/atmel_lcdfb.o] Error 1
The typo was introduced by 895607ec
"atmel_lcdfb: use display information in info not in var for panning"
KernelVersion: Linux-next 20110812
The typo was introduced through the fbdev tree.
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
---
So much for compile testing... ;)
drivers/video/atmel_lcdfb.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c
index 77153c6..63409c1 100644
--- a/drivers/video/atmel_lcdfb.c
+++ b/drivers/video/atmel_lcdfb.c
@@ -60,7 +60,7 @@ static void atmel_lcdfb_update_dma2d(struct atmel_lcdfb_info *sinfo,
pixeloff = (var->xoffset * info->var.bits_per_pixel) & 0x1f;
- dma2dcfg = (info-var.xres_virtual - info->var.xres)
+ dma2dcfg = (info->var.xres_virtual - info->var.xres)
* info->var.bits_per_pixel / 8;
dma2dcfg |= pixeloff << ATMEL_LCDC_PIXELOFF_OFFSET;
lcdc_writel(sinfo, ATMEL_LCDC_DMA2DCFG, dma2dcfg);
--
1.7.3.4
next reply other threads:[~2011-08-15 17:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-15 17:26 Peter Huewe [this message]
2011-08-15 17:31 ` Laurent Pinchart
2011-08-15 17:43 ` Peter Hüwe
2011-08-15 21:26 ` Wolfram Sang
2011-08-15 21:29 ` Laurent Pinchart
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=1313429190-29275-1-git-send-email-peterhuewe@gmx.de \
--to=peterhuewe@gmx.de \
--cc=laurent.pinchart@ideasonboard.com \
--cc=lethal@linux-sh.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nicolas.ferre@atmel.com \
--cc=sfr@canb.auug.org.au \
/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
all inboxes | Powered by JetHome®