From patchwork Wed Feb 16 03:49:01 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Courbot X-Patchwork-Id: 565611 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 p1G3nTp9019023 for ; Wed, 16 Feb 2011 03:49:36 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756353Ab1BPDtg (ORCPT ); Tue, 15 Feb 2011 22:49:36 -0500 Received: from mail-gx0-f174.google.com ([209.85.161.174]:52940 "EHLO mail-gx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756534Ab1BPDtf (ORCPT ); Tue, 15 Feb 2011 22:49:35 -0500 Received: by gxk9 with SMTP id 9so419020gxk.19 for ; Tue, 15 Feb 2011 19:49:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:in-reply-to:references; bh=fRgx40+g7ipzUJfExJ4s6x8HOqV2BgYCF6JHZQbNeTw=; b=jIMu0ODsD9R38P1TYZRcJyZH5ICHq/r/HK5zj/dlxuA3RgOZXLV0l9OBbdsCKxfcH/ lDzx6KfE3VuaSi+vhalAMvCivSgaydcxvJaC2DGRjheOCs7wRx33fKfhfvlUfwyUiJaf 7jHNH//KkLFEbH/NLsyD1OWg7Y/hmoP2AfOGQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=cC8HdpfdH+QBz8pDgWr1PGrjq5sgUo7JEOe+yhBHPzjfMn2/a6ONnQ5mlbCo2o5m++ rb/iHHvrKJeduEBjOm+kHHPidclirCpDWbsbStCvZbLjL250xnmEeYyyUKxubzLvXDFo 7v2Sd2xvepH9iZEKdAkprlL4Da3YNdlx1n7hM= Received: by 10.151.12.18 with SMTP id p18mr107937ybi.192.1297828169306; Tue, 15 Feb 2011 19:49:29 -0800 (PST) Received: from localhost.localdomain (e0109-114-22-43-241.uqwimax.jp [114.22.43.241]) by mx.google.com with ESMTPS id v8sm515233ybe.1.2011.02.15.19.49.27 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Feb 2011 19:49:28 -0800 (PST) From: Alexandre Courbot To: Magnus Damm Cc: linux-sh@vger.kernel.org, Alexandre Courbot Subject: [PATCH v2 1/3] fbdev: sh_mobile_lcdcfb: add backlight support Date: Wed, 16 Feb 2011 12:49:01 +0900 Message-Id: <1297828143-11798-2-git-send-email-gnurou@gmail.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1297828143-11798-1-git-send-email-gnurou@gmail.com> References: <1297828143-11798-1-git-send-email-gnurou@gmail.com> In-Reply-To: References: Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@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]); Wed, 16 Feb 2011 03:49:36 +0000 (UTC) diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 6bafb51b..a222d65 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -2005,6 +2005,7 @@ config FB_SH_MOBILE_LCDC select FB_SYS_IMAGEBLIT select FB_SYS_FOPS select FB_DEFERRED_IO + select FB_BACKLIGHT select SH_MIPI_DSI if SH_LCD_MIPI_DSI ---help--- Frame buffer driver for the on-chip SH-Mobile LCD controller. diff --git a/drivers/video/sh_mobile_lcdcfb.c b/drivers/video/sh_mobile_lcdcfb.c index bf12e53..e040e46 100644 --- a/drivers/video/sh_mobile_lcdcfb.c +++ b/drivers/video/sh_mobile_lcdcfb.c @@ -21,6 +21,8 @@ #include #include #include +#include +#include #include