From patchwork Mon Jan 17 08:32:23 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: axel lin X-Patchwork-Id: 483321 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0H8dx74021288 for ; Mon, 17 Jan 2011 08:40:00 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753053Ab1AQIj6 (ORCPT ); Mon, 17 Jan 2011 03:39:58 -0500 Received: from mail-yw0-f46.google.com ([209.85.213.46]:64628 "EHLO mail-yw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753024Ab1AQIj5 (ORCPT ); Mon, 17 Jan 2011 03:39:57 -0500 Received: by ywl5 with SMTP id 5so1578417ywl.19 for ; Mon, 17 Jan 2011 00:39:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:to:cc:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; bh=I0WN7rzE7B/El8MRAk7MzaliTTkT1GO8ArCW3+Bxo8U=; b=tHzdcdSvLfdpXowKCWZ6VKcL28j/xH7a+X4jHA3GaML5HxF1QYXD09TWHNYDQ3ZPjI dZ9sUG9DAm2J7gtfrXMzcMkedtAO7nNIZaqWJuB1hua4rsi/kMOoJIrwCXm/8ERSopTv XweyrYnOli8Tj3Am92irgjzkqx23VaCpGSby4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; b=KC3VrQAmoL+6tg9XxsXGWQ3+Z6Elp0okfttyaKEW9qSdBDiXJPKTDKuhidz28MItPQ 5AlLsbpnrTWSUmv/2W2eyo2fbrbAl4tlliAlwlqtUJfAuESVCuXFQRUngxiDSFyPmRes 6Yh6nlod01dHbeJD+HyL/m9sgtdwyVDvsvdoo= Received: by 10.236.108.129 with SMTP id q1mr7329384yhg.49.1295253117741; Mon, 17 Jan 2011 00:31:57 -0800 (PST) Received: from [192.168.100.50] (60-251-136-127.HINET-IP.hinet.net [60.251.136.127]) by mx.google.com with ESMTPS id f13sm2530133yhf.33.2011.01.17.00.31.54 (version=SSLv3 cipher=RC4-MD5); Mon, 17 Jan 2011 00:31:56 -0800 (PST) Subject: [PATCH 1/2] video: nuc900fb: fix compile error From: Axel Lin To: linux-kernel@vger.kernel.org Cc: Wan ZongShun , linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org, Andrew Morton , Wang Qiang Date: Mon, 17 Jan 2011 16:32:23 +0800 Message-Id: <1295253143.12890.3.camel@mola> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 17 Jan 2011 08:40:00 +0000 (UTC) diff --git a/drivers/video/nuc900fb.c b/drivers/video/nuc900fb.c index 62498bd..29ef92f 100644 --- a/drivers/video/nuc900fb.c +++ b/drivers/video/nuc900fb.c @@ -723,7 +723,7 @@ static int nuc900fb_suspend(struct platform_device *dev, pm_message_t state) struct fb_info *fbinfo = platform_get_drvdata(dev); struct nuc900fb_info *info = fbinfo->par; - nuc900fb_stop_lcd(); + nuc900fb_stop_lcd(fbinfo); msleep(1); clk_disable(info->clk); return 0; @@ -740,7 +740,7 @@ static int nuc900fb_resume(struct platform_device *dev) msleep(1); nuc900fb_init_registers(fbinfo); - nuc900fb_activate_var(bfinfo); + nuc900fb_activate_var(fbinfo); return 0; }