From patchwork Wed Apr 7 16:04:05 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 91065 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o37G5OHo005567 for ; Wed, 7 Apr 2010 16:05:28 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932871Ab0DGQFW (ORCPT ); Wed, 7 Apr 2010 12:05:22 -0400 Received: from smtp.nokia.com ([192.100.122.233]:42745 "EHLO mgw-mx06.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932851Ab0DGQFU (ORCPT ); Wed, 7 Apr 2010 12:05:20 -0400 Received: from vaebh105.NOE.Nokia.com (vaebh105.europe.nokia.com [10.160.244.31]) by mgw-mx06.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o37G5990030675 for ; Wed, 7 Apr 2010 19:05:17 +0300 Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by vaebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 7 Apr 2010 19:04:59 +0300 Received: from mgw-da02.ext.nokia.com ([147.243.128.26]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Wed, 7 Apr 2010 19:04:58 +0300 Received: from localhost.localdomain (esdhcp04088.research.nokia.com [172.21.40.88]) by mgw-da02.ext.nokia.com (Switch-3.3.3/Switch-3.3.3) with ESMTP id o37G4YMw015130; Wed, 7 Apr 2010 19:04:53 +0300 From: felipe.balbi@nokia.com To: Linux OMAP Mailing List Cc: Felipe Balbi Subject: [RFC PATCH 14/37] cbus: retu-wdt: fix compile breakage Date: Wed, 7 Apr 2010 19:04:05 +0300 Message-Id: <1270656268-7034-15-git-send-email-felipe.balbi@nokia.com> X-Mailer: git-send-email 1.7.0.rc0.33.g7c3932 In-Reply-To: <1270656268-7034-1-git-send-email-felipe.balbi@nokia.com> References: <1270656268-7034-1-git-send-email-felipe.balbi@nokia.com> X-OriginalArrivalTime: 07 Apr 2010 16:04:58.0811 (UTC) FILETIME=[127770B0:01CAD66C] X-Nokia-AV: Clean Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 07 Apr 2010 16:05:28 +0000 (UTC) diff --git a/drivers/cbus/retu-wdt.c b/drivers/cbus/retu-wdt.c index 35932dd..380fae6 100644 --- a/drivers/cbus/retu-wdt.c +++ b/drivers/cbus/retu-wdt.c @@ -243,7 +243,6 @@ static int __init retu_wdt_ping(void) return 0; } -late_initcall(retu_wdt_ping); static const struct file_operations retu_wdt_fops = { .owner = THIS_MODULE, @@ -369,7 +368,8 @@ static int __init retu_wdt_init(void) } printk(KERN_INFO "Retu watchdog driver initialized\n"); - return ret; + + return retu_wdt_ping(); exit1: driver_unregister(&retu_wdt_driver);