From patchwork Tue Nov 22 17:02:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 9441617 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1DB12605EE for ; Tue, 22 Nov 2016 17:09:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0E31E28325 for ; Tue, 22 Nov 2016 17:09:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 015D0282F5; Tue, 22 Nov 2016 17:09:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 75204282F5 for ; Tue, 22 Nov 2016 17:09:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755539AbcKVRJh (ORCPT ); Tue, 22 Nov 2016 12:09:37 -0500 Received: from mail-wm0-f48.google.com ([74.125.82.48]:37236 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755424AbcKVRJf (ORCPT ); Tue, 22 Nov 2016 12:09:35 -0500 Received: by mail-wm0-f48.google.com with SMTP id t79so35828007wmt.0 for ; Tue, 22 Nov 2016 09:09:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=KBGgS1m5cPAzKQi0VoIhuMq02AD7LI9iI7Iy8xbzUrI=; b=aJmURLrXQH3mmJyEsneo+IE1cvonexOeASDQSCihtE0THHz0RRH5oyZSSePXz+U2Yk fAm0R0aF74v0iBqFFmOSVMtc2Ee614AQQf5Wvfjbv7eKPtRW/g2z/AejWyvN8+prR4ry ybJK1mjZaYwWfX6+y1G5MWwHYn+5f+c9+WUBQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=KBGgS1m5cPAzKQi0VoIhuMq02AD7LI9iI7Iy8xbzUrI=; b=U5iavxoKCroCmfwKExCeRpqMGNLk4Tdz8fVEhkqxSZnc7sWdcJOeWBvM+73T6hSKY3 04feXEk9xH029dnkEODEQuYeNjZjg6avN0OS0fFB+55MRnDgkDqmL8aevE9ATysZmJ9a OfF/DtOhTmOA40jTvetfdTecnqPTTCCP5JkHlNRoY+e+4JZvw0u1+Chp7J4rlDxxPLS9 GlmKqOIRU2ehJneB4soD4aLfzK27INCyF/J9c6Be34r2N8fObDz5POpg4mwfM5kIOa7f AnVF+T8UeYaZkWa0/HL9cyd760BR7tLg8zI4VhLfp5yr8w+id4IXkd/Um718bAyeexiy 8m/g== X-Gm-Message-State: AKaTC03mxBf8LY364koXpQzru4NOUwPTM8OltaD49Z8X79t2IkTkn4FgqO3ylzDLtYAseP/y X-Received: by 10.28.58.14 with SMTP id h14mr3419453wma.7.1479834151857; Tue, 22 Nov 2016 09:02:31 -0800 (PST) Received: from mms-0440.wifi.mm-sol.com ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id v202sm3941171wmv.8.2016.11.22.09.02.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 22 Nov 2016 09:02:31 -0800 (PST) From: Stanimir Varbanov To: Ohad Ben-Cohen , Bjorn Andersson Cc: Andy Gross , linux-remoteproc@vger.kernel.org, Stephen Boyd , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Stanimir Varbanov Subject: [PATCH 1/3] remoteproc: qcom: mdt_loader: add include for sizes Date: Tue, 22 Nov 2016 19:02:17 +0200 Message-Id: <1479834137-30069-1-git-send-email-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add linux/sizes.h to prevent build failure on non ARM architectures as: CC [M] drivers/remoteproc/qcom_mdt_loader.o In file included from include/linux/cache.h:4:0, from include/linux/printk.h:8, from include/linux/kernel.h:13, from include/asm-generic/bug.h:13, from arch/x86/include/asm/bug.h:35, from include/linux/bug.h:4, from include/linux/thread_info.h:11, from arch/x86/include/asm/elf.h:7, from include/linux/elf.h:4, from drivers/remoteproc/qcom_mdt_loader.c:18: drivers/remoteproc/qcom_mdt_loader.c: In function ‘qcom_mdt_parse’: drivers/remoteproc/qcom_mdt_loader.c:90:52: error: ‘SZ_4K’ undeclared (first use in this function) Signed-off-by: Stanimir Varbanov Reviewed-by: Stephen Boyd --- drivers/remoteproc/qcom_mdt_loader.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/remoteproc/qcom_mdt_loader.c b/drivers/remoteproc/qcom_mdt_loader.c index 114e8e4cef67..2ff18cd6c096 100644 --- a/drivers/remoteproc/qcom_mdt_loader.c +++ b/drivers/remoteproc/qcom_mdt_loader.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include "remoteproc_internal.h"