From patchwork Fri Aug 31 13:39:03 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: axel lin X-Patchwork-Id: 1393311 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 194C8E0000 for ; Fri, 31 Aug 2012 13:39:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753163Ab2HaNjO (ORCPT ); Fri, 31 Aug 2012 09:39:14 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:65132 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752836Ab2HaNjO (ORCPT ); Fri, 31 Aug 2012 09:39:14 -0400 Received: by pbbrr13 with SMTP id rr13so4863185pbb.19 for ; Fri, 31 Aug 2012 06:39:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:cc:date:content-type:x-mailer :content-transfer-encoding:mime-version; bh=DxMQDSDAfGq0rU6QaSrRxtgd/S87jgYTin2FHrNnJKI=; b=ID/ngp+3I7iTxTZu6xdsoB4Dl3LcFlXSdrK7OzpAY3GxMDWzwDYhHat631c5XDaVEd MvReqqaBpe++zXYMEQU+4sqiWTdFq++e491yofgSURA6D7tNv08/p8ryQLhQMArEpwMO uXiGZNdy0iOqDtYYt1xMCixuhYjUu9+TEGekFbmZtWYCWXJlQ2jb7qY1/tVW4erpNvw7 i18KMo8ATNZ6nbtgKebfyjjOIYQblvJcTvuWBKl8KLvt6d55hkkw8zoRY9xVDxIh0Rk1 kzUnMNv5GlrqREd7tQ6toAyyefIscJZ0oFtS2oBgdA+mlyPYfY4NOV2Nh7RBEmJu04n8 auBA== Received: by 10.68.138.133 with SMTP id qq5mr17199117pbb.86.1346420353419; Fri, 31 Aug 2012 06:39:13 -0700 (PDT) Received: from [1.169.102.47] (1-169-102-47.dynamic.hinet.net. [1.169.102.47]) by mx.google.com with ESMTPS id sr4sm3466658pbc.24.2012.08.31.06.39.09 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 31 Aug 2012 06:39:12 -0700 (PDT) Message-ID: <1346420343.3107.0.camel@phoenix> Subject: [PATCH] video: mbxfb: Include linux/io.h instead of asm/io.h From: Axel Lin To: Florian Tobias Schandinat Cc: Arnd Bergmann , Mathieu Poirier , Damien Cassou , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Date: Fri, 31 Aug 2012 21:39:03 +0800 X-Mailer: Evolution 3.2.3-0ubuntu6 Mime-Version: 1.0 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org This fixes below build error: CC [M] drivers/video/mbx/mbxfb.o drivers/video/mbx/mbxfb.c: In function 'mbxfb_probe': drivers/video/mbx/mbxfb.c:942:2: error: implicit declaration of function 'devm_ioremap_nocache' [-Werror=implicit-function-declaration] drivers/video/mbx/mbxfb.c:942:22: warning: assignment makes pointer from integer without a cast [enabled by default] drivers/video/mbx/mbxfb.c:952:21: warning: assignment makes pointer from integer without a cast [enabled by default] cc1: some warnings being treated as errors Signed-off-by: Axel Lin --- drivers/video/mbx/mbxfb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/video/mbx/mbxfb.c b/drivers/video/mbx/mbxfb.c index 9229acf..6563e50 100644 --- a/drivers/video/mbx/mbxfb.c +++ b/drivers/video/mbx/mbxfb.c @@ -26,8 +26,7 @@ #include #include #include - -#include +#include #include