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: 9441609 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 7F796605EE for ; Tue, 22 Nov 2016 17:09:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6DD78282F5 for ; Tue, 22 Nov 2016 17:09:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5EE0028329; Tue, 22 Nov 2016 17:09:37 +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 D56AC282F5 for ; Tue, 22 Nov 2016 17:09:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755445AbcKVRJg (ORCPT ); Tue, 22 Nov 2016 12:09:36 -0500 Received: from mail-wm0-f45.google.com ([74.125.82.45]:38538 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755365AbcKVRJf (ORCPT ); Tue, 22 Nov 2016 12:09:35 -0500 Received: by mail-wm0-f45.google.com with SMTP id f82so35955917wmf.1 for ; Tue, 22 Nov 2016 09:09:05 -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=Lf0fQgtwhNmNQDDNmTLZQrkz6UqdwwxGt7XG0dFuwoFpDfGhxW1AEhJaUT1qPqWWmF YkEiq6gvMjqXktKRN3CsZd5/g507qjO9DlFOton9S/2i+UsfBXbSQMJagSgogeZZDobz TLKIe+a3RrinW4L3N8RzNj7YGp4tXZ4k0JQjlx6/biuJB2zrCgaujcbP4SwGDnuBpZBL vBfRWG2th4ItNpeFNwTQsT+PQWvSlqOyvE4pvGzoY3iaM9zmVLhL/a8XtAyHz15jsS/n j0W17auh5U5qUbE29RpNrh9tprf86E/FIPaHEdmPFit6cbXD2FbRRISD+aU6Hq6+0qQM TjIw== X-Gm-Message-State: AKaTC03QcHTPXxApKHIvcdIsNxkfBWUeWuIQ6oGEw2MMwHJ2hs1+6v6QtO+jj5gKffCSlz0s 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-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@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"