From patchwork Sat Jun 7 03:02:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Guido_Mart=C3=ADnez?= X-Patchwork-Id: 4315121 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1BE84BEEAA for ; Sat, 7 Jun 2014 03:02:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 51D7B2020F for ; Sat, 7 Jun 2014 03:02:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8F839201F7 for ; Sat, 7 Jun 2014 03:02:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752682AbaFGDCK (ORCPT ); Fri, 6 Jun 2014 23:02:10 -0400 Received: from mail-ve0-f179.google.com ([209.85.128.179]:63289 "EHLO mail-ve0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752680AbaFGDCK (ORCPT ); Fri, 6 Jun 2014 23:02:10 -0400 Received: by mail-ve0-f179.google.com with SMTP id oy12so4257235veb.24 for ; Fri, 06 Jun 2014 20:02:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=tJOWaHRCfmjZsPBrWie9m8b9aaBpFXl5FFA5V3wx8T8=; b=Cxj5XaF4PQMV4JYjsJSDwLA4ctTQWZlnjWDTy40Jq9TrLhZ4d5KOHQj3N/3zmGUh38 YOQifInG71XwQlXzUgIoxkESZjX7psl4jOWUc9BmpO6UKgWBQx1yj7r57ZBcfjCBRSe5 9iQ4u4JDoqdUUCOVG5U2Qmgo3UV81Ep7yM5ftJTH5jaf9yFgKmRifDUl+4pemW2v+jrW diqd9L5MdoiQD6jsFbgPMIscDg0e3LqNlXfJNZmpYUAVqKKbFKISLzFn7mCNayYgjCrt 8S6P2hdnUBfrcerGw29H7iCDapoNPkQsHtYdeRZAj2TgeVesPV+MSNs6+K7ByzZOa2Xk Wt5w== X-Gm-Message-State: ALoCoQkLqRpZIvDcUTRfalYp0JFARbgyBEBVV4xr7rameF+7dw2W5hDFy1HPX4MtEOJ7P32aOEhO X-Received: by 10.220.183.4 with SMTP id ce4mr8185302vcb.54.1402110129339; Fri, 06 Jun 2014 20:02:09 -0700 (PDT) Received: from localhost (host18.190-30-94.telecom.net.ar. [190.30.94.18]) by mx.google.com with ESMTPSA id al1sm13942409vec.8.2014.06.06.20.02.06 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Jun 2014 20:02:08 -0700 (PDT) From: =?UTF-8?q?Guido=20Mart=C3=ADnez?= To: dri-devel@lists.freedesktop.org, linux-arm-kernel@vger.kernel.org, linux-omap@vger.kernel.org Cc: =?UTF-8?q?Ezequiel=20Garc=C3=ADa?= , David Airlie , Russell King , Rob Clark , Tony Lindgren , Daniel Mack , =?UTF-8?q?Guido=20Mart=C3=ADnez?= Subject: [PATCH 9/9] drm/tilcdc: replace late_initcall with module_init Date: Sat, 7 Jun 2014 00:02:08 -0300 Message-Id: <1402110128-30471-10-git-send-email-guido@vanguardiasur.com.ar> X-Mailer: git-send-email 2.0.0.rc2 In-Reply-To: <1402110128-30471-1-git-send-email-guido@vanguardiasur.com.ar> References: <1402110128-30471-1-git-send-email-guido@vanguardiasur.com.ar> 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, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 Use module_init instead of late_initcall, as is the norm for modular drivers. module_init was used until 6e8de0bd6a51fdeebd5d975c4fcc426f730b339b ("drm/tilcdc: add encoder slave (v2)") changed it to a late_initcall, but it does not explain why. Tests show it's working properly with module_init. Signed-off-by: Guido Martínez --- drivers/gpu/drm/tilcdc/tilcdc_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm/tilcdc/tilcdc_drv.c index 702315f..80e6697 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_drv.c +++ b/drivers/gpu/drm/tilcdc/tilcdc_drv.c @@ -629,7 +629,7 @@ static void __exit tilcdc_drm_fini(void) tilcdc_tfp410_fini(); } -late_initcall(tilcdc_drm_init); +module_init(tilcdc_drm_init); module_exit(tilcdc_drm_fini); MODULE_AUTHOR("Rob Clark