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: 83452 Delivered-To: patch@linaro.org Received: by 10.182.1.168 with SMTP id 8csp2260475obn; Tue, 22 Nov 2016 09:09:54 -0800 (PST) X-Received: by 10.99.0.194 with SMTP id 185mr45469955pga.111.1479834594241; Tue, 22 Nov 2016 09:09:54 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h89si691887pld.137.2016.11.22.09.09.54; Tue, 22 Nov 2016 09:09:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755539AbcKVRJh (ORCPT + 9 others); 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 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 --- drivers/remoteproc/qcom_mdt_loader.c | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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"