We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f30cfac commit 315d01dCopy full SHA for 315d01d
drivers/char/hw_random/via-rng.c
@@ -209,20 +209,19 @@ static int __init mod_init(void)
209
out:
210
return err;
211
}
212
+module_init(mod_init);
213
214
static void __exit mod_exit(void)
215
{
216
hwrng_unregister(&via_rng);
217
-
218
-module_init(mod_init);
219
module_exit(mod_exit);
220
221
static struct x86_cpu_id __maybe_unused via_rng_cpu_id[] = {
222
- X86_FEATURE_MATCH(X86_FEATURE_XSTORE),
+ X86_MATCH_FEATURE(X86_FEATURE_XSTORE, NULL),
223
{}
224
};
+MODULE_DEVICE_TABLE(x86cpu, via_rng_cpu_id);
225
226
MODULE_DESCRIPTION("H/W RNG driver for VIA CPU with PadLock");
227
MODULE_LICENSE("GPL");
228
-MODULE_DEVICE_TABLE(x86cpu, via_rng_cpu_id);
0 commit comments