From patchwork Mon Mar 4 21:03:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaro Koskinen X-Patchwork-Id: 2214481 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 2689BDF2F2 for ; Mon, 4 Mar 2013 21:04:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758811Ab3CDVEQ (ORCPT ); Mon, 4 Mar 2013 16:04:16 -0500 Received: from filtteri2.pp.htv.fi ([213.243.153.185]:59436 "EHLO filtteri2.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758775Ab3CDVEP (ORCPT ); Mon, 4 Mar 2013 16:04:15 -0500 Received: from localhost (localhost [127.0.0.1]) by filtteri2.pp.htv.fi (Postfix) with ESMTP id 62EDF19BAF0; Mon, 4 Mar 2013 23:04:13 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at pp.htv.fi Received: from smtp6.welho.com ([213.243.153.40]) by localhost (filtteri2.pp.htv.fi [213.243.153.185]) (amavisd-new, port 10024) with ESMTP id UcW7u8trG2gZ; Mon, 4 Mar 2013 23:04:13 +0200 (EET) Received: from blackmetal.pp.htv.fi (cs181064211.pp.htv.fi [82.181.64.211]) by smtp6.welho.com (Postfix) with ESMTP id 0A31E5BC004; Mon, 4 Mar 2013 23:04:13 +0200 (EET) From: Aaro Koskinen To: Tomi Valkeinen , linux-fbdev@vger.kernel.org, linux-omap@vger.kernel.org Cc: Aaro Koskinen Subject: [PATCH 2/2] omapfb: fix broken build on Amstrad E3/Delta Date: Mon, 4 Mar 2013 23:03:20 +0200 Message-Id: <1362431000-15141-2-git-send-email-aaro.koskinen@iki.fi> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1362431000-15141-1-git-send-email-aaro.koskinen@iki.fi> References: <1362431000-15141-1-git-send-email-aaro.koskinen@iki.fi> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org Fix the following build regression in 3.9-rc1 by including : drivers/video/omap/lcd_ams_delta.c: In function 'ams_delta_lcd_set_power': drivers/video/omap/lcd_ams_delta.c:48:4: error: implicit declaration of function 'omap_writeb' [-Werror=implicit-function-declaration] drivers/video/omap/lcd_ams_delta.c:49:6: error: 'OMAP_PWL_ENABLE' undeclared (first use in this function) drivers/video/omap/lcd_ams_delta.c:49:6: note: each undeclared identifier is reported only once for each function it appears in drivers/video/omap/lcd_ams_delta.c:50:19: error: 'OMAP_PWL_CLK_ENABLE' undeclared (first use in this function) drivers/video/omap/lcd_ams_delta.c: In function 'ams_delta_lcd_set_contrast': drivers/video/omap/lcd_ams_delta.c:66:22: error: 'OMAP_PWL_ENABLE' undeclared (first use in this function) Signed-off-by: Aaro Koskinen --- drivers/video/omap/lcd_ams_delta.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/omap/lcd_ams_delta.c b/drivers/video/omap/lcd_ams_delta.c index ed4cad8..4a5f2cd 100644 --- a/drivers/video/omap/lcd_ams_delta.c +++ b/drivers/video/omap/lcd_ams_delta.c @@ -27,6 +27,7 @@ #include #include +#include #include #include "omapfb.h"