From patchwork Tue Sep 8 12:43:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leif Lindholm X-Patchwork-Id: 53266 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by patches.linaro.org (Postfix) with ESMTPS id C2B2C22B05 for ; Tue, 8 Sep 2015 12:44:47 +0000 (UTC) Received: by lamp12 with SMTP id p12sf35853373lam.2 for ; Tue, 08 Sep 2015 05:44:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=jKMMyn4BWDMEIUfIAARBTWvpdpAL40dm8eD8DgekCjc=; b=fc8+LsadYBGiZo00qyKnVgYx2nLG5/nI6Qq8uFJOo+YtnxuFuazO//jebX1aMlo8Yh FPBuj37IwjvuOhh24srSTVFgDpSbkErSr0RuDiEdKFtA98ti7FgOuHSvznuY/WRzKp1M B4OITvJC50X/XZqzuLE8gGhHAm4Lhe4TGB9U+eEdtzoLu3l+SOnudj6geKt37FCdl2J+ hMxFP7DzViA6kbX0kc7dPla3a+E23iKipJ5kX7d8d/JnvwRb0JjEQrBa/l/29LOxjIh/ Cu9HnqHbdgIRqYTGxII2+It8FySkN+E2p41WXwmG5s4uD1v2Fw/4L1g2ZajRgCMhDPES SlLA== X-Gm-Message-State: ALoCoQlAVRvaBEBkaZDYm1Siibz8o6kFuHnzQ44d4ulW/2ON8WKqCXplW477drnS2q2V/t1k0LPX X-Received: by 10.180.100.71 with SMTP id ew7mr6599757wib.0.1441716286714; Tue, 08 Sep 2015 05:44:46 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.198.137 with SMTP id jc9ls643323lac.26.gmail; Tue, 08 Sep 2015 05:44:46 -0700 (PDT) X-Received: by 10.112.160.165 with SMTP id xl5mr22216627lbb.44.1441716286552; Tue, 08 Sep 2015 05:44:46 -0700 (PDT) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by mx.google.com with ESMTPS id wu8si3124081lbb.57.2015.09.08.05.44.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Sep 2015 05:44:46 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by lbpo4 with SMTP id o4so52659427lbp.2 for ; Tue, 08 Sep 2015 05:44:46 -0700 (PDT) X-Received: by 10.152.44.196 with SMTP id g4mr22633821lam.56.1441716286442; Tue, 08 Sep 2015 05:44:46 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp951658lbq; Tue, 8 Sep 2015 05:44:45 -0700 (PDT) X-Received: by 10.182.246.71 with SMTP id xu7mr8834804obc.66.1441716285458; Tue, 08 Sep 2015 05:44:45 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gs1si5349590pac.67.2015.09.08.05.44.44; Tue, 08 Sep 2015 05:44:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754717AbbIHMoa (ORCPT + 1 other); Tue, 8 Sep 2015 08:44:30 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:36936 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754673AbbIHMnx (ORCPT ); Tue, 8 Sep 2015 08:43:53 -0400 Received: by wicfx3 with SMTP id fx3so113594944wic.0 for ; Tue, 08 Sep 2015 05:43:52 -0700 (PDT) X-Received: by 10.180.186.195 with SMTP id fm3mr45003189wic.1.1441716232733; Tue, 08 Sep 2015 05:43:52 -0700 (PDT) Received: from mohikan.mushroom.smurfnet.nu (cpc4-cmbg17-2-0-cust71.5-4.cable.virginm.net. [86.14.224.72]) by smtp.gmail.com with ESMTPSA id i7sm4696047wib.15.2015.09.08.05.43.51 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 Sep 2015 05:43:52 -0700 (PDT) From: Leif Lindholm To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-serial@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: mark.rutland@arm.com, al.stone@linaro.org, torez@redhat.com, jcm@redhat.com, graeme.gregory@linaro.org, linaro-acpi@lists.linaro.org, lv.zheng@intel.com Subject: [RFC 5/5] HACK: serial: move pl011 initcall to device_initcall Date: Tue, 8 Sep 2015 13:43:37 +0100 Message-Id: <1441716217-23786-6-git-send-email-leif.lindholm@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1441716217-23786-1-git-send-email-leif.lindholm@linaro.org> References: <1441716217-23786-1-git-send-email-leif.lindholm@linaro.org> Sender: linux-serial-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-serial@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: leif.lindholm@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , --- drivers/tty/serial/amba-pl011.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c index 452dbba..31cf985 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -2806,7 +2806,7 @@ static void __exit pl011_exit(void) * While this can be a module, if builtin it's most likely the console * So let's leave module_exit but move module_init to an earlier place */ -arch_initcall(pl011_init); +device_initcall(pl011_init); module_exit(pl011_exit); MODULE_AUTHOR("ARM Ltd/Deep Blue Solutions Ltd");