From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bartlomiej Zolnierkiewicz Subject: Re: [PATCH] tiny patch to kill warning in drivers/ide/ide.c Date: Wed, 9 Jun 2004 12:31:20 +0200 Sender: linux-ide-owner@vger.kernel.org Message-ID: <200406091231.20049.bzolnier@elka.pw.edu.pl> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from mion.elka.pw.edu.pl ([194.29.160.35]:14751 "EHLO mion.elka.pw.edu.pl") by vger.kernel.org with ESMTP id S265692AbUFIK1a (ORCPT ); Wed, 9 Jun 2004 06:27:30 -0400 In-Reply-To: Content-Disposition: inline List-Id: linux-ide@vger.kernel.org To: Jesper Juhl Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org On Wednesday 09 of June 2004 03:38, Jesper Juhl wrote: > To kill this warning : > > drivers/ide/ide.c: In function `ide_unregister_subdriver': > drivers/ide/ide.c:2216: warning: implicit declaration of function > `pnpide_init' > > I added a simple declaration of pnpide_init to drivers/ide/ide.c > > Here's a patch against 2.6.7-rc3 - please consider including it (or if > that's not the way to do it, then don't) :) Thanks but the real bug is to call pnpide_init() from ide_unregister_subdriver(), I'll push ide-pnp update soon.