From patchwork Tue Jun 4 15:36:47 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 17530 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id F010A2390D for ; Tue, 4 Jun 2013 15:36:58 +0000 (UTC) Received: by mail-la0-f69.google.com with SMTP id fs12sf374588lab.4 for ; Tue, 04 Jun 2013 08:36:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=CEjXyDyRKY78nYQUtkA5qJ+LdmveAZHl/k2ZniHEE+I=; b=NUUhRGSjHt++L0lL2ktpOSuIj/wqDkQ4q2zqRZWl/cWiBgWviTqfSADTL5QaTK26Pw /s0K8m0/sCi3JWJRiM7shidKcRzD1H9d40T7iBf9Rna9Saa8Jzn1CgM2xLBCfmk9KEl5 BqUgjnThA50m4cd5yvpMBnzjsK9spJRhDiX8rufLZRbUcKEKqfK8p4zl/w62l8WTMPzV S6o2Ok3vKsfaNlbdN3Q5JPYRZf7jlrrXBu30b4vUTlZjRxs2LDWwDgJY5pmJ3idZQ/Mq 8bkytQCixT+nWEb7z5tFxEXbjAq92lJFUNRN3W12h+6607CrplFlbSUb4FTYaKOtGUc/ Up9g== X-Received: by 10.180.11.232 with SMTP id t8mr880258wib.3.1370360217063; Tue, 04 Jun 2013 08:36:57 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.180.80.3 with SMTP id n3ls208706wix.44.gmail; Tue, 04 Jun 2013 08:36:56 -0700 (PDT) X-Received: by 10.180.39.233 with SMTP id s9mr2100757wik.25.1370360216882; Tue, 04 Jun 2013 08:36:56 -0700 (PDT) Received: from mail-ve0-x22b.google.com (mail-ve0-x22b.google.com [2607:f8b0:400c:c01::22b]) by mx.google.com with ESMTPS id gb1si1693245wic.85.2013.06.04.08.36.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Jun 2013 08:36:56 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::22b is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c01::22b; Received: by mail-ve0-f171.google.com with SMTP id b10so320047vea.16 for ; Tue, 04 Jun 2013 08:36:55 -0700 (PDT) X-Received: by 10.52.170.148 with SMTP id am20mr16007072vdc.75.1370360215751; Tue, 04 Jun 2013 08:36:55 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.10.206 with SMTP id pb14csp131412vcb; Tue, 4 Jun 2013 08:36:55 -0700 (PDT) X-Received: by 10.180.208.109 with SMTP id md13mr1541011wic.57.1370360214768; Tue, 04 Jun 2013 08:36:54 -0700 (PDT) Received: from mail-we0-x22d.google.com (mail-we0-x22d.google.com [2a00:1450:400c:c03::22d]) by mx.google.com with ESMTPS id rx11si22844534wjb.93.2013.06.04.08.36.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Jun 2013 08:36:54 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c03::22d is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:400c:c03::22d; Received: by mail-we0-f173.google.com with SMTP id x55so354408wes.4 for ; Tue, 04 Jun 2013 08:36:54 -0700 (PDT) X-Received: by 10.194.158.34 with SMTP id wr2mr24510957wjb.57.1370360214196; Tue, 04 Jun 2013 08:36:54 -0700 (PDT) Received: from localhost.localdomain (cpc34-aztw25-2-0-cust250.18-1.cable.virginmedia.com. [86.16.136.251]) by mx.google.com with ESMTPSA id w8sm4316114wiz.0.2013.06.04.08.36.52 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Jun 2013 08:36:53 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, linus.walleij@stericsson.com, srinidhi.kasagar@stericsson.com, Lee Jones Subject: [PATCH 1/2] ARM: ux500: Silence compiler warnings due to missing ux500_read_asicid() __init Date: Tue, 4 Jun 2013 16:36:47 +0100 Message-Id: <1370360208-6500-1-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-Gm-Message-State: ALoCoQkxn9MZQxDxtLUk5vfTVyui5PGy7SSGF/Ti4U75YokW4dB5wOc4Jj8uoXRqfKlXB44fZB4T X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::22b is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , WARNING: vmlinux.o(.text.unlikely+0x1e8): Section mismatch in reference from\ the function ux500_read_asicid() to the function .init.text:iotable_init() The function ux500_read_asicid() references the function __init iotable_init(). This is often because ux500_read_asicid lacks a __init Signed-off-by: Lee Jones --- arch/arm/mach-ux500/id.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-ux500/id.c b/arch/arm/mach-ux500/id.c index 0d33d1a..b16e7c1 100644 --- a/arch/arm/mach-ux500/id.c +++ b/arch/arm/mach-ux500/id.c @@ -21,7 +21,7 @@ struct dbx500_asic_id dbx500_id; -static unsigned int ux500_read_asicid(phys_addr_t addr) +static unsigned int __init ux500_read_asicid(phys_addr_t addr) { phys_addr_t base = addr & ~0xfff; struct map_desc desc = {