1*4882a593Smuzhiyun // SPDX-License-Identifier: GPL-2.0 2*4882a593Smuzhiyun #include <linux/module.h> 3*4882a593Smuzhiyun #include <linux/of_device.h> 4*4882a593Smuzhiyun 5*4882a593Smuzhiyun /* This is a dummy device table linked into all of the crypto 6*4882a593Smuzhiyun * opcode drivers. It serves to trigger the module autoloading 7*4882a593Smuzhiyun * mechanisms in userspace which scan the OF device tree and 8*4882a593Smuzhiyun * load any modules which have device table entries that 9*4882a593Smuzhiyun * match OF device nodes. 10*4882a593Smuzhiyun */ 11*4882a593Smuzhiyun static const struct of_device_id crypto_opcode_match[] = { 12*4882a593Smuzhiyun { .name = "cpu", .compatible = "sun4v", }, 13*4882a593Smuzhiyun {}, 14*4882a593Smuzhiyun }; 15*4882a593Smuzhiyun MODULE_DEVICE_TABLE(of, crypto_opcode_match); 16