[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1368466296.2425.48.camel@x230>
Date: Mon, 13 May 2013 17:31:36 +0000
From: Matthew Garrett <matthew.garrett@...ula.com>
To: Qiaowei Ren <qiaowei.ren@...el.com>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"platform-driver-x86@...r.kernel.org"
<platform-driver-x86@...r.kernel.org>,
Xiaoyan Zhang <xiaoyan.zhang@...el.com>,
Gang Wei <gang.wei@...el.com>
Subject: Re: [PATCH v2 1/3] driver: add TXT driver in kernel
On Tue, 2013-05-14 at 01:24 +0800, Qiaowei Ren wrote:
> static int __init txt_sysfs_init(void)
> +{
> + if (!tboot_enabled())
> + return -ENODEV;
If there's a CPU flag that indicates tboot support, you should add a
modalias for it in order to ensure that the module gets automatically
loaded.
--
Matthew Garrett | mjg59@...f.ucam.org
Powered by blists - more mailing lists