From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C8519B7DEE for ; Sun, 14 Feb 2010 17:15:16 +1100 (EST) Subject: Re: [PATCH 9/9] of: remove undefined request_OF_resource & release_OF_resource From: Benjamin Herrenschmidt To: Grant Likely In-Reply-To: <20100213160314.4767.93924.stgit@angua> References: <20100213154838.4767.83881.stgit@angua> <20100213160314.4767.93924.stgit@angua> Content-Type: text/plain; charset="UTF-8" Date: Sun, 14 Feb 2010 17:14:57 +1100 Message-ID: <1266128097.16346.67.camel@pasglop> Mime-Version: 1.0 Cc: sfr@canb.auug.org.au, monstr@monstr.eu, microblaze-uclinux@itee.uq.edu.au, devicetree-discuss@lists.ozlabs.org, linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, sparclinux@vger.kernel.org, jeremy.kerr@canonical.com, davem@davemloft.net List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sat, 2010-02-13 at 09:03 -0700, Grant Likely wrote: > Neither request_OF_resource or release_OF_resource are defined > anywhere. Remove the declarations. > > Signed-off-by: Grant Likely > --- Acked-by: Benjamin Herrenschmidt > arch/microblaze/include/asm/prom.h | 4 ---- > arch/powerpc/include/asm/prom.h | 5 ----- > 2 files changed, 0 insertions(+), 9 deletions(-) > > diff --git a/arch/microblaze/include/asm/prom.h b/arch/microblaze/include/asm/prom.h > index aa1a437..03f45a9 100644 > --- a/arch/microblaze/include/asm/prom.h > +++ b/arch/microblaze/include/asm/prom.h > @@ -31,10 +31,6 @@ > /* Other Prototypes */ > extern int early_uartlite_console(void); > > -extern struct resource *request_OF_resource(struct device_node *node, > - int index, const char *name_postfix); > -extern int release_OF_resource(struct device_node *node, int index); > - > /* > * OF address retreival & translation > */ > diff --git a/arch/powerpc/include/asm/prom.h b/arch/powerpc/include/asm/prom.h > index 7f9a50a..ddd408a 100644 > --- a/arch/powerpc/include/asm/prom.h > +++ b/arch/powerpc/include/asm/prom.h > @@ -39,11 +39,6 @@ extern struct device_node* pci_device_to_OF_node(struct pci_dev *); > extern void pci_create_OF_bus_map(void); > #endif > > -extern struct resource *request_OF_resource(struct device_node* node, > - int index, const char* name_postfix); > -extern int release_OF_resource(struct device_node* node, int index); > - > - > /* > * OF address retreival & translation > */ > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Date: Sun, 14 Feb 2010 06:14:57 +0000 Subject: Re: [PATCH 9/9] of: remove undefined request_OF_resource & Message-Id: <1266128097.16346.67.camel@pasglop> List-Id: References: <20100213154838.4767.83881.stgit@angua> <20100213160314.4767.93924.stgit@angua> In-Reply-To: <20100213160314.4767.93924.stgit@angua> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Grant Likely Cc: sfr-3FnU+UHB4dNDw9hX6IcOSA@public.gmane.org, microblaze-uclinux-rVRm/Wmeqae7NGdpmJTKYQ@public.gmane.org, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linuxppc-dev-mnsaURCQ41sdnm+yROfE0A@public.gmane.org, sparclinux-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, jeremy.kerr-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org, davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org On Sat, 2010-02-13 at 09:03 -0700, Grant Likely wrote: > Neither request_OF_resource or release_OF_resource are defined > anywhere. Remove the declarations. > > Signed-off-by: Grant Likely > --- Acked-by: Benjamin Herrenschmidt > arch/microblaze/include/asm/prom.h | 4 ---- > arch/powerpc/include/asm/prom.h | 5 ----- > 2 files changed, 0 insertions(+), 9 deletions(-) > > diff --git a/arch/microblaze/include/asm/prom.h b/arch/microblaze/include/asm/prom.h > index aa1a437..03f45a9 100644 > --- a/arch/microblaze/include/asm/prom.h > +++ b/arch/microblaze/include/asm/prom.h > @@ -31,10 +31,6 @@ > /* Other Prototypes */ > extern int early_uartlite_console(void); > > -extern struct resource *request_OF_resource(struct device_node *node, > - int index, const char *name_postfix); > -extern int release_OF_resource(struct device_node *node, int index); > - > /* > * OF address retreival & translation > */ > diff --git a/arch/powerpc/include/asm/prom.h b/arch/powerpc/include/asm/prom.h > index 7f9a50a..ddd408a 100644 > --- a/arch/powerpc/include/asm/prom.h > +++ b/arch/powerpc/include/asm/prom.h > @@ -39,11 +39,6 @@ extern struct device_node* pci_device_to_OF_node(struct pci_dev *); > extern void pci_create_OF_bus_map(void); > #endif > > -extern struct resource *request_OF_resource(struct device_node* node, > - int index, const char* name_postfix); > -extern int release_OF_resource(struct device_node* node, int index); > - > - > /* > * OF address retreival & translation > */ > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753812Ab0BNGPV (ORCPT ); Sun, 14 Feb 2010 01:15:21 -0500 Received: from gate.crashing.org ([63.228.1.57]:39521 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752210Ab0BNGPT (ORCPT ); Sun, 14 Feb 2010 01:15:19 -0500 Subject: Re: [PATCH 9/9] of: remove undefined request_OF_resource & release_OF_resource From: Benjamin Herrenschmidt To: Grant Likely Cc: monstr@monstr.eu, sfr@canb.auug.org.au, jeremy.kerr@canonical.com, davem@davemloft.net, microblaze-uclinux@itee.uq.edu.au, linuxppc-dev@ozlabs.org, sparclinux@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: <20100213160314.4767.93924.stgit@angua> References: <20100213154838.4767.83881.stgit@angua> <20100213160314.4767.93924.stgit@angua> Content-Type: text/plain; charset="UTF-8" Date: Sun, 14 Feb 2010 17:14:57 +1100 Message-ID: <1266128097.16346.67.camel@pasglop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 2010-02-13 at 09:03 -0700, Grant Likely wrote: > Neither request_OF_resource or release_OF_resource are defined > anywhere. Remove the declarations. > > Signed-off-by: Grant Likely > --- Acked-by: Benjamin Herrenschmidt > arch/microblaze/include/asm/prom.h | 4 ---- > arch/powerpc/include/asm/prom.h | 5 ----- > 2 files changed, 0 insertions(+), 9 deletions(-) > > diff --git a/arch/microblaze/include/asm/prom.h b/arch/microblaze/include/asm/prom.h > index aa1a437..03f45a9 100644 > --- a/arch/microblaze/include/asm/prom.h > +++ b/arch/microblaze/include/asm/prom.h > @@ -31,10 +31,6 @@ > /* Other Prototypes */ > extern int early_uartlite_console(void); > > -extern struct resource *request_OF_resource(struct device_node *node, > - int index, const char *name_postfix); > -extern int release_OF_resource(struct device_node *node, int index); > - > /* > * OF address retreival & translation > */ > diff --git a/arch/powerpc/include/asm/prom.h b/arch/powerpc/include/asm/prom.h > index 7f9a50a..ddd408a 100644 > --- a/arch/powerpc/include/asm/prom.h > +++ b/arch/powerpc/include/asm/prom.h > @@ -39,11 +39,6 @@ extern struct device_node* pci_device_to_OF_node(struct pci_dev *); > extern void pci_create_OF_bus_map(void); > #endif > > -extern struct resource *request_OF_resource(struct device_node* node, > - int index, const char* name_postfix); > -extern int release_OF_resource(struct device_node* node, int index); > - > - > /* > * OF address retreival & translation > */ > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [PATCH 9/9] of: remove undefined request_OF_resource & release_OF_resource Date: Sun, 14 Feb 2010 17:14:57 +1100 Message-ID: <1266128097.16346.67.camel@pasglop> References: <20100213154838.4767.83881.stgit@angua> <20100213160314.4767.93924.stgit@angua> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20100213160314.4767.93924.stgit@angua> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Grant Likely Cc: sfr-3FnU+UHB4dNDw9hX6IcOSA@public.gmane.org, microblaze-uclinux-rVRm/Wmeqae7NGdpmJTKYQ@public.gmane.org, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linuxppc-dev-mnsaURCQ41sdnm+yROfE0A@public.gmane.org, sparclinux-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, jeremy.kerr-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org, davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org List-Id: devicetree@vger.kernel.org On Sat, 2010-02-13 at 09:03 -0700, Grant Likely wrote: > Neither request_OF_resource or release_OF_resource are defined > anywhere. Remove the declarations. > > Signed-off-by: Grant Likely > --- Acked-by: Benjamin Herrenschmidt > arch/microblaze/include/asm/prom.h | 4 ---- > arch/powerpc/include/asm/prom.h | 5 ----- > 2 files changed, 0 insertions(+), 9 deletions(-) > > diff --git a/arch/microblaze/include/asm/prom.h b/arch/microblaze/include/asm/prom.h > index aa1a437..03f45a9 100644 > --- a/arch/microblaze/include/asm/prom.h > +++ b/arch/microblaze/include/asm/prom.h > @@ -31,10 +31,6 @@ > /* Other Prototypes */ > extern int early_uartlite_console(void); > > -extern struct resource *request_OF_resource(struct device_node *node, > - int index, const char *name_postfix); > -extern int release_OF_resource(struct device_node *node, int index); > - > /* > * OF address retreival & translation > */ > diff --git a/arch/powerpc/include/asm/prom.h b/arch/powerpc/include/asm/prom.h > index 7f9a50a..ddd408a 100644 > --- a/arch/powerpc/include/asm/prom.h > +++ b/arch/powerpc/include/asm/prom.h > @@ -39,11 +39,6 @@ extern struct device_node* pci_device_to_OF_node(struct pci_dev *); > extern void pci_create_OF_bus_map(void); > #endif > > -extern struct resource *request_OF_resource(struct device_node* node, > - int index, const char* name_postfix); > -extern int release_OF_resource(struct device_node* node, int index); > - > - > /* > * OF address retreival & translation > */ > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/