• Hans J. Koch's avatar
    uio: uio_pdrv_genirq: Add OF support · 27760f86
    Hans J. Koch authored
    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: default avatarMichal Simek <monstr@monstr.eu>
    Signed-off-by: default avatarHans J. Koch <hjk@hansjkoch.de>
    Reviewed-by: default avatarWolfram Sang <w.sang@pengutronix.de>
    CC: Hans J. Koch <hjk@hansjkoch.de>
    CC: Arnd Bergmann <arnd@arndb.de>
    CC: John Williams <john.williams@petalogix.com>
    CC: Grant Likely <grant.likely@secretlab.ca>
    CC: Wolfram Sang <w.sang@pengutronix.de>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    27760f86
uio_pdrv_genirq.c 7.33 KB