From patchwork Thu Feb 10 15:22:45 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Courbot X-Patchwork-Id: 546601 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 p1AFOMdO026543 for ; Thu, 10 Feb 2011 15:24:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755897Ab1BJPYc (ORCPT ); Thu, 10 Feb 2011 10:24:32 -0500 Received: from mail-yi0-f46.google.com ([209.85.218.46]:55478 "EHLO mail-yi0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750917Ab1BJPYb (ORCPT ); Thu, 10 Feb 2011 10:24:31 -0500 Received: by yib18 with SMTP id 18so625629yib.19 for ; Thu, 10 Feb 2011 07:24:30 -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; bh=tG7fqBFnuvTC9PZ5aq3D68gH16Yj73nS9xhzh9GDI/A=; b=PvRHDUQ6YXQPpVmx2bAP8nl98JEnLm2jhUlC/PogNTYyP3Dgbs4dLRHun433UidIVq kqe1tXLgLcs1B2JFK78h/oHCVAbGrQ3UwtSSm5yEKlrlmbTf+VRTL3Jw41QcnPVaWxjM 68k4qWJIVHswmioszhoehKBOPDJcPR/GVleIg= 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=gHrCnfdRyLGwk+N0vDtw3xU+i2/49f8ZsqyC02PTENY6jdeGxAHETfJvus3K/0fvrY Br79h/A30vmfQGuQclzQGlbd+HeKChZ606SixIX5awoLOsXQH+Xg/6Yc6YzvlTeK9kg/ TC9+0mRf8D+Zoxjg1ARZtlRV6bNDyRiAXPxaI= Received: by 10.90.72.17 with SMTP id u17mr2756918aga.180.1297351470596; Thu, 10 Feb 2011 07:24:30 -0800 (PST) Received: from localhost.localdomain (e0109-114-22-33-156.uqwimax.jp [114.22.33.156]) by mx.google.com with ESMTPS id b11sm112941ana.38.2011.02.10.07.24.21 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 10 Feb 2011 07:24:25 -0800 (PST) From: Alexandre Courbot To: Magnus Damm Cc: linux-sh@vger.kernel.org, Alexandre Courbot Subject: [PATCH 1/2] fbdev: sh_mobile_lcdcfb: add backlight support Date: Fri, 11 Feb 2011 00:22:45 +0900 Message-Id: <1297351366-7374-2-git-send-email-gnurou@gmail.com> X-Mailer: git-send-email 1.7.4 In-Reply-To: <1297351366-7374-1-git-send-email-gnurou@gmail.com> References: <1297351366-7374-1-git-send-email-gnurou@gmail.com> 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]); Thu, 10 Feb 2011 15:24:32 +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..5240406 100644 --- a/drivers/video/sh_mobile_lcdcfb.c +++ b/drivers/video/sh_mobile_lcdcfb.c @@ -21,8 +21,10 @@ #include #include #include +#include #include