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 ESMTP id E7AB967C09 for ; Tue, 17 Oct 2006 08:58:18 +1000 (EST) Subject: Re: [PATCH] Slight refactor of interrupt mapping for FSL parts From: Benjamin Herrenschmidt To: Andy Fleming In-Reply-To: References: Content-Type: text/plain Date: Tue, 17 Oct 2006 08:58:10 +1000 Message-Id: <1161039490.7195.27.camel@localhost.localdomain> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org, Jeff Garzik List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > +void of_irq_to_resource(struct device_node *dev, int index, struct resource *r) > +{ > + r->start = r->end = irq_of_parse_and_map(dev, index); > + r->flags = IORESOURCE_IRQ; > +} > + What about having that one in prom_parse.c ? Ben.