在 2023/12/1 17:34, Herbert Xu 写道:
On Tue, Nov 21, 2023 at 11:29:39AM +0800, LeoLiu-oc wrote:
+static const struct x86_cpu_id via_rng_cpu_ids[] = {
+ X86_MATCH_VENDOR_FAM_FEATURE(CENTAUR, 6, X86_FEATURE_XSTORE, NULL),
+ {}
+};
+MODULE_DEVICE_TABLE(x86cpu, via_rng_cpu_ids);
Rather than moving the whole thing, just add this near the start
of the file:
static const struct x86_cpu_id via_rng_cpu_ids[];
Cheers,
Thank you for your suggestions. Will make modifications in the next
version as suggested.
Sincerely,
Leoliu-oc