From patchwork Thu Oct 11 00:38:52 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Tobias Schandinat X-Patchwork-Id: 1578501 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 F2867DFFEE for ; Thu, 11 Oct 2012 00:38:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933069Ab2JKAih (ORCPT ); Wed, 10 Oct 2012 20:38:37 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:49443 "HELO mailout-de.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S932922Ab2JKAif (ORCPT ); Wed, 10 Oct 2012 20:38:35 -0400 Received: (qmail invoked by alias); 11 Oct 2012 00:38:33 -0000 Received: from dslb-092-074-232-187.pools.arcor-ip.net (EHLO localhost.localdomain) [92.74.232.187] by mail.gmx.net (mp016) with SMTP; 11 Oct 2012 02:38:33 +0200 X-Authenticated: #10250065 X-Provags-ID: V01U2FsdGVkX19Yk1oqPKNYByKnx9XXl0zqRwB3rmhP+3M2ztMj29 3aoj6Qa5o6SXQ/ From: Florian Tobias Schandinat To: linux-fbdev@vger.kernel.org Cc: Geert Uytterhoeven , linux-kernel@vger.kernel.org, Florian Tobias Schandinat , Damien Cassou Subject: [PATCH] gbefb: fix compile error Date: Thu, 11 Oct 2012 00:38:52 +0000 Message-Id: <1349915932-3598-1-git-send-email-FlorianSchandinat@gmx.de> X-Mailer: git-send-email 1.7.9 In-Reply-To: <505B9196.3040203@gmx.de> References: <505B9196.3040203@gmx.de> X-Y-GMX-Trusted: 0 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org The patch "drivers/video/gbefb.c: use devm_ functions" caused a compile error. drivers/video/gbefb.c:1159:16: error: implicit declaration of function 'devm_ioremap' [-Werror=implicit-function-declaration] drivers/video/gbefb.c:1179:3: error: implicit declaration of function 'devm_ioremap_nocache' [-Werror=implicit-function-declaration] Fix it by including linux/io.h which defines those functions. Reported-by: Geert Uytterhoeven Signed-off-by: Florian Tobias Schandinat Cc: Damien Cassou --- drivers/video/gbefb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/gbefb.c b/drivers/video/gbefb.c index 9b79d38..8dc1f7a 100644 --- a/drivers/video/gbefb.c +++ b/drivers/video/gbefb.c @@ -20,6 +20,7 @@ #include #include #include +#include #ifdef CONFIG_X86 #include @@ -28,7 +29,6 @@ #include #endif #include -#include #include #include