# Re: \[PATCH v4 3/5\] ARM: tegra: Initialize interrupt controller from DT

- From: Varka Bhadram \<hidden\>
- Date: 2014-08-29 03:27:49 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2014/08/8096137
- Thread: https://ratatoskr.run/linux-arm-kernel/2014/08/8096137/t.md

```text
On 08/28/2014 09:01 PM, Thierry Reding wrote:
> From: Thierry Reding <redacted>
>
> Obtains the register ranges for the legacy interrupt controller from DT
> and provide hard-coded values as fallback.
>
(...)

> +static const struct tegra_ictlr_soc tegra30_ictlr_soc = {
> +	.num_ictlrs = 5,
> +};
> +
> +static const struct of_device_id ictlr_matches[] = {
> +	{ .compatible = "nvidia,tegra30-ictlr", .data = &tegra30_ictlr_soc },
> +	{ .compatible = "nvidia,tegra20-ictlr", .data = &tegra20_ictlr_soc },
> +	{ }
> +};
> +
> +static const struct of_device_id gic_matches[] = {
> +	{ .compatible = "arm,cortex-a15-gic", },
> +	{ .compatible = "arm,cortex-a9-gic", },
> +	{ }
> +};
> +
>
Missed MODULE_DEVICE_TABLE(of, ...)....?

-- 
Regards,
Varka Bhadram.
```
