From patchwork Wed Aug 26 12:28:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Holler X-Patchwork-Id: 7076891 Return-Path: X-Original-To: patchwork-linux-arm@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 041B09F305 for ; Wed, 26 Aug 2015 12:44:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A5FC4208B7 for ; Wed, 26 Aug 2015 12:44:29 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 517A42062E for ; Wed, 26 Aug 2015 12:44:28 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZUa1J-0004ph-Hp; Wed, 26 Aug 2015 12:41:37 +0000 Received: from h1446028.stratoserver.net ([85.214.92.142] helo=mail.ahsoftware.de) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZUa11-0004cg-3h for linux-arm-kernel@lists.infradead.org; Wed, 26 Aug 2015 12:41:20 +0000 Received: by mail.ahsoftware.de (Postfix, from userid 65534) id 3C2822C9C3A7; Wed, 26 Aug 2015 14:31:35 +0200 (CEST) Received: from wandq.ahsoftware (p4FC3641D.dip0.t-ipconnect.de [79.195.100.29]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.ahsoftware.de (Postfix) with ESMTPSA id C08862C9C237 for ; Wed, 26 Aug 2015 14:31:31 +0200 (CEST) Received: by wandq.ahsoftware (Postfix, from userid 65534) id 0B0EE9A54B3; Wed, 26 Aug 2015 14:31:30 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from krabat.ahsoftware (unknown [192.168.207.2]) by wandq.ahsoftware (Postfix) with ESMTP id 7FEC69A53DE; Wed, 26 Aug 2015 12:29:01 +0000 (UTC) From: Alexander Holler To: linux-kernel@vger.kernel.org Subject: [PATCH 13/16] deps: WIP: omap: annotate some initcalls Date: Wed, 26 Aug 2015 14:28:25 +0200 Message-Id: <1440592108-3740-14-git-send-email-holler@ahsoftware.de> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1440592108-3740-1-git-send-email-holler@ahsoftware.de> References: <1440592108-3740-1-git-send-email-holler@ahsoftware.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150826_054119_511003_89733007 X-CRM114-Status: GOOD ( 14.06 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Russel King , Tomeu Vizoso , Greg KH , Grant Likely , Alexander Holler , Andrew Morton , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP WIP means Work In Progress. Change some omap drivers to offer annotated initcalls. Signed-off-by: Alexander Holler --- arch/arm/common/edma.c | 2 +- drivers/bus/omap_l3_smx.c | 2 +- drivers/dma/omap-dma.c | 2 +- drivers/gpio/gpio-twl4030.c | 2 +- drivers/gpu/drm/tilcdc/tilcdc_drv.c | 2 +- drivers/i2c/busses/i2c-omap.c | 2 +- drivers/iommu/omap-iommu.c | 2 +- drivers/mailbox/omap-mailbox.c | 2 +- drivers/memory/omap-gpmc.c | 2 +- drivers/mfd/omap-usb-host.c | 2 +- drivers/mfd/omap-usb-tll.c | 2 +- drivers/mfd/tps65217.c | 2 +- drivers/net/ethernet/ti/cpsw.c | 2 +- drivers/net/ethernet/ti/davinci_mdio.c | 2 +- drivers/phy/phy-twl4030-usb.c | 2 +- drivers/regulator/twl-regulator.c | 2 +- drivers/tty/serial/omap-serial.c | 2 +- drivers/usb/host/ehci-omap.c | 2 +- drivers/usb/host/ohci-omap3.c | 2 +- drivers/usb/musb/omap2430.c | 2 +- 20 files changed, 20 insertions(+), 20 deletions(-) diff --git a/arch/arm/common/edma.c b/arch/arm/common/edma.c index 873dbfc..29f363c 100644 --- a/arch/arm/common/edma.c +++ b/arch/arm/common/edma.c @@ -1872,5 +1872,5 @@ static int __init edma_init(void) { return platform_driver_probe(&edma_driver, edma_probe); } -arch_initcall(edma_init); +annotated_initcall(arch, edma_init, edma_driver.driver); diff --git a/drivers/bus/omap_l3_smx.c b/drivers/bus/omap_l3_smx.c index 360a5c0..e2172b8 100644 --- a/drivers/bus/omap_l3_smx.c +++ b/drivers/bus/omap_l3_smx.c @@ -302,7 +302,7 @@ static int __init omap3_l3_init(void) { return platform_driver_register(&omap3_l3_driver); } -postcore_initcall_sync(omap3_l3_init); +annotated_initcall_sync(postcore, omap3_l3_init, omap3_l3_driver.driver); static void __exit omap3_l3_exit(void) { diff --git a/drivers/dma/omap-dma.c b/drivers/dma/omap-dma.c index 249445c..0866ae9 100644 --- a/drivers/dma/omap-dma.c +++ b/drivers/dma/omap-dma.c @@ -1285,7 +1285,7 @@ static int omap_dma_init(void) { return platform_driver_register(&omap_dma_driver); } -subsys_initcall(omap_dma_init); +annotated_initcall(subsys, omap_dma_init, omap_dma_driver.driver); static void __exit omap_dma_exit(void) { diff --git a/drivers/gpio/gpio-twl4030.c b/drivers/gpio/gpio-twl4030.c index 9e1dbb9..60c0d1a 100644 --- a/drivers/gpio/gpio-twl4030.c +++ b/drivers/gpio/gpio-twl4030.c @@ -615,7 +615,7 @@ static int __init gpio_twl4030_init(void) { return platform_driver_register(&gpio_twl4030_driver); } -subsys_initcall(gpio_twl4030_init); +annotated_initcall(subsys, gpio_twl4030_init, gpio_twl4030_driver.driver); static void __exit gpio_twl4030_exit(void) { diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm/tilcdc/tilcdc_drv.c index 0f283a3..8c50f23 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_drv.c +++ b/drivers/gpu/drm/tilcdc/tilcdc_drv.c @@ -715,7 +715,7 @@ static void __exit tilcdc_drm_fini(void) tilcdc_tfp410_fini(); } -module_init(tilcdc_drm_init); +annotated_module_init(tilcdc_drm_init, tilcdc_platform_driver.driver); module_exit(tilcdc_drm_fini); MODULE_AUTHOR("Rob Clark