From patchwork Mon Feb 28 06:14:48 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Donghwa Lee X-Patchwork-Id: 594141 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 p1S6E0DV006928 for ; Mon, 28 Feb 2011 06:14:00 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750940Ab1B1GN7 (ORCPT ); Mon, 28 Feb 2011 01:13:59 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:39686 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750896Ab1B1GN7 (ORCPT ); Mon, 28 Feb 2011 01:13:59 -0500 Received: from epmmp2 (mailout2.samsung.com [203.254.224.25]) by mailout2.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTP id <0LHB004ITDAKG2D0@mailout2.samsung.com> for linux-fbdev@vger.kernel.org; Mon, 28 Feb 2011 15:13:32 +0900 (KST) Received: from TNRNDGASPAPP1.tn.corp.samsungelectronics.net ([165.213.149.150]) by mmp2.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPA id <0LHB008U6DAKFK@mmp2.samsung.com> for linux-fbdev@vger.kernel.org; Mon, 28 Feb 2011 15:13:32 +0900 (KST) Received: from localhost.localdomain ([165.213.219.92]) by TNRNDGASPAPP1.tn.corp.samsungelectronics.net with Microsoft SMTPSVC(6.0.3790.4675); Mon, 28 Feb 2011 15:13:32 +0900 Date: Mon, 28 Feb 2011 15:14:48 +0900 From: Donghwa Lee Subject: [PATCH] backlight/platform_lcd: change set power function parameter in plat_lcd_data To: dh09.lee@samsung.com, kyungmin.park@samsung.com, linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org Message-id: <1298873688-17118-1-git-send-email-dh09.lee@samsung.com> X-Mailer: git-send-email 1.6.0.4 Content-transfer-encoding: 7BIT X-OriginalArrivalTime: 28 Feb 2011 06:13:32.0419 (UTC) FILETIME=[A001FD30:01CBD70E] 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, 28 Feb 2011 06:14:00 +0000 (UTC) diff --git a/drivers/video/backlight/platform_lcd.c b/drivers/video/backlight/platform_lcd.c index 302330a..cf23a3f 100644 --- a/drivers/video/backlight/platform_lcd.c +++ b/drivers/video/backlight/platform_lcd.c @@ -49,7 +49,7 @@ static int platform_lcd_set_power(struct lcd_device *lcd, int power) if (power == FB_BLANK_POWERDOWN || plcd->suspended) lcd_power = 0; - plcd->pdata->set_power(plcd->pdata, lcd_power); + plcd->pdata->set_power(lcd, lcd_power); plcd->power = power; return 0; diff --git a/include/video/platform_lcd.h b/include/video/platform_lcd.h index ad3bdfe..e92a039 100644 --- a/include/video/platform_lcd.h +++ b/include/video/platform_lcd.h @@ -15,7 +15,7 @@ struct plat_lcd_data; struct fb_info; struct plat_lcd_data { - void (*set_power)(struct plat_lcd_data *, unsigned int power); + void (*set_power)(struct lcd_device *, unsigned int power); int (*match_fb)(struct plat_lcd_data *, struct fb_info *); };