From patchwork Wed Dec 8 02:42:04 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan Wu X-Patchwork-Id: 389492 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oB82g5KD024652 for ; Wed, 8 Dec 2010 02:42:05 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755130Ab0LHCmD (ORCPT ); Tue, 7 Dec 2010 21:42:03 -0500 Received: from adelie.canonical.com ([91.189.90.139]:49281 "EHLO adelie.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754770Ab0LHCmB (ORCPT ); Tue, 7 Dec 2010 21:42:01 -0500 Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1PQ9yi-0008RD-Ok; Wed, 08 Dec 2010 02:42:00 +0000 Received: from [124.76.14.0] (helo=canonical.com) by hutte.canonical.com with esmtpsa (TLS-1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1PQ9yh-0001iy-Hb; Wed, 08 Dec 2010 02:42:00 +0000 From: Bryan Wu To: paul@pwsan.com, linux-omap@vger.kernel.org, sameo@linux.intel.com Subject: [PATCH] MFD: TWL/TPS: fix twl_probe section mismatch warning in mfd/twl-core.c Date: Wed, 8 Dec 2010 10:42:04 +0800 Message-Id: <1291776124-9570-1-git-send-email-bryan.wu@canonical.com> X-Mailer: git-send-email 1.7.1 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 (demeter1.kernel.org [140.211.167.41]); Wed, 08 Dec 2010 02:42:05 +0000 (UTC) diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c index 35275ba..3aa46ff 100644 --- a/drivers/mfd/twl-core.c +++ b/drivers/mfd/twl-core.c @@ -969,7 +969,7 @@ static int twl_remove(struct i2c_client *client) } /* NOTE: this driver only handles a single twl4030/tps659x0 chip */ -static int __init +static int __devinit twl_probe(struct i2c_client *client, const struct i2c_device_id *id) { int status;