18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci#include <linux/module.h> 38c2ecf20Sopenharmony_ci#include <linux/of_device.h> 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci/* This is a dummy device table linked into all of the crypto 68c2ecf20Sopenharmony_ci * opcode drivers. It serves to trigger the module autoloading 78c2ecf20Sopenharmony_ci * mechanisms in userspace which scan the OF device tree and 88c2ecf20Sopenharmony_ci * load any modules which have device table entries that 98c2ecf20Sopenharmony_ci * match OF device nodes. 108c2ecf20Sopenharmony_ci */ 118c2ecf20Sopenharmony_cistatic const struct of_device_id crypto_opcode_match[] = { 128c2ecf20Sopenharmony_ci { .name = "cpu", .compatible = "sun4v", }, 138c2ecf20Sopenharmony_ci {}, 148c2ecf20Sopenharmony_ci}; 158c2ecf20Sopenharmony_ciMODULE_DEVICE_TABLE(of, crypto_opcode_match); 16