From patchwork Tue Jun 17 14:17:11 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: 4366431 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 3B90FBEECB for ; Tue, 17 Jun 2014 14:16:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4CBD220117 for ; Tue, 17 Jun 2014 14:16:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 48E3E202F2 for ; Tue, 17 Jun 2014 14:16:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933019AbaFQOQq (ORCPT ); Tue, 17 Jun 2014 10:16:46 -0400 Received: from mail-yh0-f43.google.com ([209.85.213.43]:34943 "EHLO mail-yh0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932588AbaFQOQq (ORCPT ); Tue, 17 Jun 2014 10:16:46 -0400 Received: by mail-yh0-f43.google.com with SMTP id a41so5558038yho.30 for ; Tue, 17 Jun 2014 07:16:45 -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=JG9QWjkXrAg09NVecFbz/Zev7CoCP5pmzksiIAVXMwk=; b=d38mOjTNfsW8AdzpAz3umshGbHEOPYdMIFworfDvnTN9L1c96srCb+fciRbwVVsk+8 T0Kc8/bK9fRWmMNbx2Sg1mwIW8RyOGdLDmU9TZTA8phZ9fGgIxBJ3XzUA6spB40qY5Rs azKNmH38GPtR6FM5d4g85WgXTLvU3ZQMk/mctmNEUjxuWn5MRPB+rNfoMXNJyCqDBN76 V3Q2VkJaS19ftg9LtubWK2zOJlqZfPfvrAWectdUCrudGCFU6JDbejoE6vcJClB+vHdG gsJH80iosYpMzK6326yBhaY/oNlk4PA63fCgzYmD7QCa1jPuwc4kdvZS9yEdXuyz//Zz jLWA== X-Gm-Message-State: ALoCoQn6VMtgff9SVJZkzgrbH8HM7Cov01pcmFyle3rNTuuya8if94wMYKMlt/8nyWf+hkGDldKI X-Received: by 10.236.200.228 with SMTP id z64mr14997819yhn.140.1403014605463; Tue, 17 Jun 2014 07:16:45 -0700 (PDT) Received: from localhost (host18.190-30-94.telecom.net.ar. [190.30.94.18]) by mx.google.com with ESMTPSA id z45sm656962yhc.17.2014.06.17.07.16.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Jun 2014 07:16:44 -0700 (PDT) From: =?UTF-8?q?Guido=20Mart=C3=ADnez?= To: dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org Cc: robdclark@gmail.com, =?UTF-8?q?Ezequiel=20Garc=C3=ADa?= , airlied@linux.ie, Daniel Mack , Russell King , Daniel Vetter , =?UTF-8?q?Guido=20Mart=C3=ADnez?= Subject: [PATCH/RESEND 9/9] drm/tilcdc: replace late_initcall with module_init Date: Tue, 17 Jun 2014 11:17:11 -0300 Message-Id: <1403014631-18072-10-git-send-email-guido@vanguardiasur.com.ar> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1403014631-18072-1-git-send-email-guido@vanguardiasur.com.ar> References: <1402110128-30471-1-git-send-email-guido@vanguardiasur.com.ar> <1403014631-18072-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.9 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 2c860c4..6be623b 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