[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100325052328.GB9769@obsidianresearch.com>
Date: Wed, 24 Mar 2010 23:23:28 -0600
From: Jason Gunthorpe <jgunthorpe@...idianresearch.com>
To: Rajiv Andrade <srajiv@...ux.vnet.ibm.com>
Cc: tpmdd-devel@...ts.sourceforge.net, linuxppc-dev@...abs.org,
linux-kernel@...r.kernel.org
Subject: Re: [tpmdd-devel] [PATCH] TPM: Provide a tpm_tis OF driver
On Thu, Mar 25, 2010 at 01:20:41AM -0300, Rajiv Andrade wrote:
> Why not
>
> +#ifdef CONFIG_OF
> + return of_register_platform_driver(&tis_of_driver);
> +#elif CONFIG_PNP
> + return pnp_register_driver(&tis_pnp_driver);
> +#endif
>
> ?
AFAIK they are not exclusive options? I can't imagine anyone building
a kernel with both, but the rest of the patch is designed to allow
both at once..
> Acked-by: Rajiv Andrade <srajiv@...ux.vnet.ibm.com>
Thanks - who can pick this up to feed it upstream?
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists