[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131226200106.GA30559@saruman.home>
Date: Thu, 26 Dec 2013 14:01:06 -0600
From: Felipe Balbi <balbi@...com>
To: Sricharan R <r.sricharan@...com>
CC: <linux-kernel@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-doc@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-omap@...r.kernel.org>, <linus.walleij@...aro.org>,
<linux@....linux.org.uk>, <tony@...mide.com>, <rnayak@...com>,
<marc.zyngier@....com>, <grant.likely@...aro.org>,
<mark.rutland@....com>, <robherring2@...il.com>,
<tglx@...utronix.de>, <galak@...eaurora.org>,
<rob.herring@...xeda.com>, <santosh.shilimkar@...com>, <nm@...com>,
<bcousson@...libre.com>
Subject: Re: [PATCH V5 2/4] DRIVERS: IRQCHIP: CROSSBAR: Add support for
Crossbar IP
Hi,
On Tue, Dec 03, 2013 at 03:57:23PM +0530, Sricharan R wrote:
> +static const struct of_device_id crossbar_match[] __initconst = {
> + { .compatible = "ti,irq-crossbar" },
> + {}
> +};
> +
> +int irqcrossbar_init(void)
> +{
> + struct device_node *np;
> + np = of_find_matching_node(NULL, crossbar_match);
> + if (!np)
> + return -ENODEV;
> +
> + crossbar_of_init(np);
> + return 0;
> +}
instead, please use IRQCHIP_DECLARE() then you won't need to expose this
symbol to be used by arch/arm/ code.
--
balbi
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists