> +/* irq == 0 -> autoprobe, -1 ->forced no interrupt,
> + others -> irq line to use */
> static int tpm_tis_init(struct device *dev, resource_size_t start,
> - resource_size_t len, unsigned int irq)
> + resource_size_t len, int irq)
> {
> u32 vendo
This provides an open firwmare driver binding for tpm_tis. OF
is useful on arches where PNP is not used.
Allow the tpm_tis driver to be selected if PNP or OF are compiled in.
Signed-off-by: Jason Gunthorpe
---
drivers/char/tpm/Kconfig |2 +-
drivers/char/tpm/tpm_tis.c | 56 +
2 matches
Mail list logo