From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell Subject: Re: [PATCH] Fix section mismatch warning. Date: Thu, 20 Nov 2008 05:41:33 -0800 Message-ID: <200811200541.34166.david-b@pacbell.net> References: <1227102749-19536-1-git-send-email-premi@ti.com> <200811191626.02717.david-b@pacbell.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from smtp119.sbc.mail.sp1.yahoo.com ([69.147.64.92]:22768 "HELO smtp119.sbc.mail.sp1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754735AbYKTNlg (ORCPT ); Thu, 20 Nov 2008 08:41:36 -0500 In-Reply-To: Content-Disposition: inline Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: "Premi, Sanjeev" Cc: "linux-omap@vger.kernel.org" On Thursday 20 November 2008, Premi, Sanjeev wrote: > BTW, I could not locate the definition of platform_driver for twl4030 > to verify if probe() is indeed in __devinit. In this case, drivers/mfd/twl4030-power.c is what will use that data, and it's called from drivers/mfd/twl4030-core.c ... which is an I2C client. I don't know of any cases when it's safe to have I2C drivers have their probe() use an __init or __devinit annotation.