From patchwork Fri Jan 18 07:31:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 1999761 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id B6A6C3FD86 for ; Fri, 18 Jan 2013 07:37:12 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Tw6TW-0007NZ-1O; Fri, 18 Jan 2013 07:34:54 +0000 Received: from mail-pb0-f44.google.com ([209.85.160.44]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Tw6Qh-0005eJ-21 for linux-arm-kernel@lists.infradead.org; Fri, 18 Jan 2013 07:32:00 +0000 Received: by mail-pb0-f44.google.com with SMTP id uo1so1897155pbc.17 for ; Thu, 17 Jan 2013 23:31:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=cUcxTWWmfagUHL81Q5A2L08Q4Ai1qLHXWbIc504xO68=; b=ZXgm3yFcZs/1JC6EG3pOD8nJ85ayjbWZPHymGyt0RofDbbFhdlAjPV/UDS7bkT8yyf BHrxhPjRb720VX+SzgV7Ac1/B6Xgyns22kHUhjwXkpV2k+8+uLfHEZEryqDvZPRKdTGN mKr6VqHREbTKM4CVYz6WscND7UTP+/EUykxCFN9z6rtMUMq3P4MbKiy7OOs28bdOJMTP iOV7ZugLtJuLoN35GjZ4Hwgll0MgZ/R1+0ZJj7UT7g0DmYEJeDqNB3AVVNFJJTy28Wqh D+uN/7Im95Hl5fPeAwm9W8Yd/wBqr0Uc3HyyXRkST1uEHsKP61ozRM172F2RILMBYJlU qFUA== X-Received: by 10.66.79.66 with SMTP id h2mr21345122pax.31.1358494318242; Thu, 17 Jan 2013 23:31:58 -0800 (PST) Received: from localhost.localdomain ([98.126.173.75]) by mx.google.com with ESMTPS id i6sm2922899paw.19.2013.01.17.23.31.55 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 17 Jan 2013 23:31:57 -0800 (PST) From: Haojian Zhuang To: linus.walleij@linaro.org, linux@arm.linux.org.uk, tony@atomide.com, linux-arm-kernel@lists.infradead.org, swarren@nvidia.com Subject: [PATCH v7 09/15] gpio: pl061: set initcall level to module init Date: Fri, 18 Jan 2013 15:31:13 +0800 Message-Id: <1358494279-16503-10-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1358494279-16503-1-git-send-email-haojian.zhuang@linaro.org> References: <1358494279-16503-1-git-send-email-haojian.zhuang@linaro.org> X-Gm-Message-State: ALoCoQkxWDjfIL/cqsQd5EVhD7xHdy35MD8uzW/4HofGVpdqdYvLCw/9b3r5JhZ01lkoPlYSrg3a X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130118_023159_441931_E91F69D3 X-CRM114-Status: GOOD ( 10.67 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.44 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Haojian Zhuang X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Replace subsys initcall by module initcall level. Since pinctrl driver is already launched before gpio driver. It's unnecessary to set gpio driver in subsys init call level. Signed-off-by: Haojian Zhuang --- drivers/gpio/gpio-pl061.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-pl061.c b/drivers/gpio/gpio-pl061.c index 8cfdf60..76adf33 100644 --- a/drivers/gpio/gpio-pl061.c +++ b/drivers/gpio/gpio-pl061.c @@ -393,7 +393,7 @@ static int __init pl061_gpio_init(void) { return amba_driver_register(&pl061_gpio_driver); } -subsys_initcall(pl061_gpio_init); +module_init(pl061_gpio_init); MODULE_AUTHOR("Baruch Siach "); MODULE_DESCRIPTION("PL061 GPIO driver");