From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Barnes Subject: Re: [PATCH -next] pci hotplug: fix ibmphp build error Date: Mon, 8 Feb 2010 10:50:12 -0800 Message-ID: <20100208105012.17053238@jbarnes-piketon> References: <20100204185736.6628ab9a.sfr@canb.auug.org.au> <4B6B2A27.9070600@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4B6B2A27.9070600@oracle.com> Sender: linux-pci-owner@vger.kernel.org To: Randy Dunlap Cc: Stephen Rothwell , linux-next@vger.kernel.org, LKML , "linux-pci@vger.kernel.org" List-Id: linux-next.vger.kernel.org On Thu, 04 Feb 2010 12:12:23 -0800 Randy Dunlap wrote: > From: Randy Dunlap > > Add header file to fix build error: > > drivers/pci/hotplug/ibmphp_hpc.c:135: error: implicit declaration of > function 'init_MUTEX' drivers/pci/hotplug/ibmphp_hpc.c:136: error: > implicit declaration of function 'init_MUTEX_LOCKED' > drivers/pci/hotplug/ibmphp_hpc.c:797: error: implicit declaration of > function 'down' drivers/pci/hotplug/ibmphp_hpc.c:807: error: implicit > declaration of function 'up' > > Signed-off-by: Randy Dunlap > --- > drivers/pci/hotplug/ibmphp_hpc.c | 1 + > 1 file changed, 1 insertion(+) > > --- linux-next-20100204.orig/drivers/pci/hotplug/ibmphp_hpc.c > +++ linux-next-20100204/drivers/pci/hotplug/ibmphp_hpc.c > @@ -35,6 +35,7 @@ > #include > #include > #include > +#include > #include > #include "ibmphp.h" > > Applied to linux-next, thanks. -- Jesse Barnes, Intel Open Source Technology Center