From patchwork Tue Jun 9 07:45:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 482130 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3E3FA140325 for ; Tue, 9 Jun 2015 17:46:18 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=TG1Nw5mY; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B49604B6EF; Tue, 9 Jun 2015 09:46:14 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wnFhwdQzheVC; Tue, 9 Jun 2015 09:46:14 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 19B3C4B6E0; Tue, 9 Jun 2015 09:46:14 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B844C4B6E0 for ; Tue, 9 Jun 2015 09:46:10 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iyq5668AJ6Lf for ; Tue, 9 Jun 2015 09:46:10 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-qk0-f195.google.com (mail-qk0-f195.google.com [209.85.220.195]) by theia.denx.de (Postfix) with ESMTPS id 514924B6DA for ; Tue, 9 Jun 2015 09:46:06 +0200 (CEST) Received: by qkcv189 with SMTP id v189so1382471qkc.2 for ; Tue, 09 Jun 2015 00:46:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:subject:date:mime-version:content-type; bh=nRr4e7V08hQgz5KT0HtoQtNkOoXPg7TmnKttuGmc8RI=; b=TG1Nw5mYTb6gu4bdIOk2a9MRZcDIFfONNwim17et7SLuvL3i50Hf7Bf31BmnP6/+Iz Bop9qWTL55ouCSvZFGZvTZxKC+OvQmUuV/nWdJ3GEGJsBORGKcri+1YmGk+NPM4LeRvo ExjiyNb9qJ48uWDa9oqSxq1yToACWBGoyExBhhJPksqKDnxcaH2k1CRZj03FZMfd7Sr4 n4teZjfVlg+9Ee5y3mZJjIbQhrwXKA/XIClSkkKtecqU2SaGDhx9BF5tr4yYLj3bD+p/ Vt6htHOqbTVs7QsVZuJ/WWWLbAcnk343uThgrw0q9+DpftcTMNDNAFDmxRlACx9SRSOr ysMw== X-Received: by 10.55.42.82 with SMTP id q79mr40011927qkh.84.1433835964724; Tue, 09 Jun 2015 00:46:04 -0700 (PDT) Received: from mail.hotmail.com (blu004-wss1s6.hotmail.com. [134.170.2.221]) by mx.google.com with ESMTPSA id q105sm2352519qgq.11.2015.06.09.00.46.04 (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 Jun 2015 00:46:04 -0700 (PDT) Received: from BLU437-SMTP3 ([134.170.2.215]) by BLU004-WSS1S6.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Tue, 9 Jun 2015 00:46:03 -0700 X-TMN: [1FJmC0slDTTxdDZpBYuQy/B6zzil12yT] Message-ID: From: Bin Meng To: Simon Glass , U-Boot Mailing List Date: Tue, 9 Jun 2015 15:45:43 +0800 X-Mailer: git-send-email 1.8.2.1 X-OriginalArrivalTime: 09 Jun 2015 07:46:02.0281 (UTC) FILETIME=[55393990:01D0A288] MIME-Version: 1.0 Subject: [U-Boot] [PATCH 1/9] dm: cpu: Fix undefined ENOSYS build error X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Include otherwise ENOSYS is undefined. Signed-off-by: Bin Meng Acked-by: Simon Glass --- common/cmd_cpu.c | 1 + drivers/cpu/cpu-uclass.c | 1 + 2 files changed, 2 insertions(+) diff --git a/common/cmd_cpu.c b/common/cmd_cpu.c index c3e229f..b4af64f 100644 --- a/common/cmd_cpu.c +++ b/common/cmd_cpu.c @@ -9,6 +9,7 @@ #include #include #include +#include static const char *cpu_feature_name[CPU_FEAT_COUNT] = { "L1 cache", diff --git a/drivers/cpu/cpu-uclass.c b/drivers/cpu/cpu-uclass.c index ab18ee2..aa0267c 100644 --- a/drivers/cpu/cpu-uclass.c +++ b/drivers/cpu/cpu-uclass.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include