From patchwork Mon Jul 6 20:26:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 6727591 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id DCEA29F2F0 for ; Mon, 6 Jul 2015 20:26:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1776C2062F for ; Mon, 6 Jul 2015 20:26:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2A3C120642 for ; Mon, 6 Jul 2015 20:26:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755656AbbGFU0u (ORCPT ); Mon, 6 Jul 2015 16:26:50 -0400 Received: from mail-wg0-f52.google.com ([74.125.82.52]:35449 "EHLO mail-wg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755488AbbGFU0s (ORCPT ); Mon, 6 Jul 2015 16:26:48 -0400 Received: by wgjx7 with SMTP id x7so150019582wgj.2; Mon, 06 Jul 2015 13:26:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=x99jZGY+ISky8TDetIToshdTZ/IR1ztByWvAH8RYc5Q=; b=dDnskTiQLF4YTe58skDbsZ0B3DiWmuEevkGJpGqHI7ZTJLl/fcy/TWYXgqdGlnKRFw /TOvc5/HUpNByvFNXk4wwtuXhasHRN87THajFQ7uMWwlgqCqUYqGRYANuJ9abWoU3Zql KpuOhkV9/RXeS24OVCS37dMrEdwiJ7RpSWDhFAFxjhr37hvNf1nb0o9Q4+24qzvznbDK sRJhzRBUf35ZP1l8Q+JkHHDq2qubHXix118VIETGZzvDEDDftrbW3prroyg1eBxQqGuY kt/Rp5LFD5LrnVnmW3RhyNODM81p/zlgH9sgh/KGuGYHsGUqOEAxBb3D9hTLmWPQwJEc GDEg== X-Received: by 10.194.121.34 with SMTP id lh2mr1222998wjb.101.1436214406609; Mon, 06 Jul 2015 13:26:46 -0700 (PDT) Received: from Pali-Latitude.kolej.mff.cuni.cz (pali.kolej.mff.cuni.cz. [78.128.193.202]) by mx.google.com with ESMTPSA id ck18sm29869344wjb.47.2015.07.06.13.26.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Jul 2015 13:26:45 -0700 (PDT) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Russell King , Laura Abbott , Grant Likely , Rob Herring , Will Deacon , Ivaylo Dimitrov , Sebastian Reichel , Pavel Machek , Tony Lindgren , =?UTF-8?q?Andreas=20F=C3=A4rber?= Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, =?UTF-8?q?Pali=20Roh=C3=A1r?= Subject: [PATCH 3/5] arm: atags: Fix declaration of function save_atags Date: Mon, 6 Jul 2015 22:26:11 +0200 Message-Id: <1436214373-12969-4-git-send-email-pali.rohar@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1436214373-12969-1-git-send-email-pali.rohar@gmail.com> References: <1436214373-12969-1-git-send-email-pali.rohar@gmail.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 In file atags_proc.c function save_atags() expect const argument, but in atags.h file is declarated as non const. Fix declaration in atags.h file to match what is expected. Signed-off-by: Pali Rohár --- arch/arm/kernel/atags.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/kernel/atags.h b/arch/arm/kernel/atags.h index ec4164d..2dfc30f 100644 --- a/arch/arm/kernel/atags.h +++ b/arch/arm/kernel/atags.h @@ -1,7 +1,7 @@ #ifdef CONFIG_ATAGS_PROC -extern void save_atags(struct tag *tags); +extern void save_atags(const struct tag *tags); #else -static inline void save_atags(struct tag *tags) { } +static inline void save_atags(const struct tag *tags) { } #endif void convert_to_tag_list(struct tag *tags);