Re: [PATCH v2] TPM: Provide a tpm_tis OF driver

2012-10-12 Thread Jason Gunthorpe
On Wed, Oct 10, 2012 at 11:24:28AM -0500, Kent Yoder wrote: > Why change the structs to const here? This generates warnings for me: I should have dropped this, I was added when I added the __devinitdata annotations.. > > + > > +static struct platform_driver tis_driver = { > > .driver = { >

Re: [PATCH v2] TPM: Provide a tpm_tis OF driver

2012-10-10 Thread Kent Yoder
Hi Jason, On Tue, Oct 02, 2012 at 03:04:53PM -0600, Jason Gunthorpe wrote: > 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 OF is compiled in. > > Signed-off-by: Jason Gunthorpe > --- > d

[PATCH v2] TPM: Provide a tpm_tis OF driver

2012-10-02 Thread Jason Gunthorpe
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 OF is compiled in. Signed-off-by: Jason Gunthorpe --- drivers/char/tpm/Kconfig |2 +- drivers/char/tpm/tpm_tis.c | 79 +