[PATCH v4] uio/pdrv_genirq: Add OF support

Arnd Bergmann arnd at arndb.de
Wed May 4 23:12:45 EST 2011


On Monday 02 May 2011, Michal Simek wrote:
> Adding OF binding to genirq.
> Version string is setup to the "devicetree".
> 
> Compatible string is not setup for now but you can add your
> custom compatible string to uio_of_genirq_match structure.
> 
> For example with "vendor,device" compatible string:
> static const struct of_device_id __devinitconst uio_of_genirq_match[] = {
>         { .compatible = "vendor,device", },
>         { /* empty for now */ },
> };
> 
> Signed-off-by: Michal Simek <monstr at monstr.eu>

Reviewed-by: Arnd Bergmann <arnd at arndb.de>


More information about the devicetree-discuss mailing list