From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dirk Behme Subject: Re: [PATCH] ARM: OMAP: Fix section mismatch warnings in omap-rng Date: Thu, 04 Jan 2007 18:04:22 +0100 Message-ID: <459D3396.8020604@googlemail.com> References: <459D1DFD.6080606@googlemail.com> <1168015759.7712.7.camel@balbi> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1168015759.7712.7.camel@balbi> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces@linux.omap.com Errors-To: linux-omap-open-source-bounces@linux.omap.com To: Felipe Balbi , linux-omap-open-source@linux.omap.com List-Id: linux-omap@vger.kernel.org Felipe Balbi wrote: > Hello Dirk, > > >>-static int __init omap_rng_probe(struct platform_device *pdev) >>+static int __devinit omap_rng_probe(struct platform_device *pdev) >>-static int __exit omap_rng_remove(struct platform_device *pdev) >>+static int __devexit omap_rng_remove(struct platform_device *pdev) > > > Actually, this will only be true if CONFIG_HOTPLUG is set to "y". This > way __devinit is defined to "null". > > If we set CONFIG_HOTPLUG to "n" the same Section mismatch issue will > appear. Ah, yes, I see. Anybody with a better patch for this? Thanks Dirk