From patchwork Mon Sep 30 14:08:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 2965261 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 75BE7BFF0B for ; Mon, 30 Sep 2013 14:10:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 31014201F9 for ; Mon, 30 Sep 2013 14:10:02 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4D741201C8 for ; Mon, 30 Sep 2013 14:10:00 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VQeAE-0007ec-T3; Mon, 30 Sep 2013 14:09:31 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VQe9r-0004Fz-Kb; Mon, 30 Sep 2013 14:09:07 +0000 Received: from mail-db8lp0184.outbound.messaging.microsoft.com ([213.199.154.184] helo=db8outboundpool.messaging.microsoft.com) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VQe9o-0004Ek-Fm for linux-arm-kernel@lists.infradead.org; Mon, 30 Sep 2013 14:09:05 +0000 Received: from mail25-db8-R.bigfish.com (10.174.8.247) by DB8EHSOBE027.bigfish.com (10.174.4.90) with Microsoft SMTP Server id 14.1.225.22; Mon, 30 Sep 2013 14:08:42 +0000 Received: from mail25-db8 (localhost [127.0.0.1]) by mail25-db8-R.bigfish.com (Postfix) with ESMTP id 8902612402D2; Mon, 30 Sep 2013 14:08:42 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 0 X-BigFish: VS0(zzzz1f42h208ch1ee6h1de0h1fdah2073h1202h1e76h1d1ah1d2ah1fc6hzz1de098h1de097h8275bhz2dh2a8h839hd24he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1ad9h1b0ah1b2fh1fb3h1d0ch1d2eh1d3fh1dc1h1dfeh1dffh1e23h1fe8h1ff5h1155h) Received: from mail25-db8 (localhost.localdomain [127.0.0.1]) by mail25-db8 (MessageSwitch) id 1380550120449935_19494; Mon, 30 Sep 2013 14:08:40 +0000 (UTC) Received: from DB8EHSMHS031.bigfish.com (unknown [10.174.8.234]) by mail25-db8.bigfish.com (Postfix) with ESMTP id 5B434F40048; Mon, 30 Sep 2013 14:08:40 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by DB8EHSMHS031.bigfish.com (10.174.4.41) with Microsoft SMTP Server (TLS) id 14.16.227.3; Mon, 30 Sep 2013 14:08:36 +0000 Received: from az84smr01.freescale.net (10.64.34.197) by 039-SN1MMR1-002.039d.mgd.msft.net (10.84.1.15) with Microsoft SMTP Server (TLS) id 14.3.158.2; Mon, 30 Sep 2013 14:08:34 +0000 Received: from fabio-Latitude-E6410.am.freescale.net ([10.29.244.114]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id r8UE8WDe029857; Mon, 30 Sep 2013 07:08:32 -0700 From: Fabio Estevam To: Subject: [PATCH] ARM: mach-imx: cpu: Include Date: Mon, 30 Sep 2013 11:08:25 -0300 Message-ID: <1380550105-19372-1-git-send-email-fabio.estevam@freescale.com> X-Mailer: git-send-email 1.8.1.2 MIME-Version: 1.0 X-OriginatorOrg: freescale.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130930_100904_639878_D4FF9F78 X-CRM114-Status: UNSURE ( 8.06 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) Cc: Fabio Estevam , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Commit e709f38cd7 (ARM: imx6: report soc info via soc device) causes the following build error on imx_v4_v5_defconfig: arch/arm/mach-imx/cpu.c: In function 'imx_soc_device_init': arch/arm/mach-imx/cpu.c:129:2: error: implicit declaration of function 'IS_ERR' [-Werror=implicit-function-declaration] Include to fix it. Signed-off-by: Fabio Estevam --- arch/arm/mach-imx/cpu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c index fae2c9a..c862402 100644 --- a/arch/arm/mach-imx/cpu.c +++ b/arch/arm/mach-imx/cpu.c @@ -1,4 +1,5 @@ +#include #include #include #include