162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 262306a36Sopenharmony_ci#include <linux/mod_devicetable.h> 362306a36Sopenharmony_ci#include <linux/module.h> 462306a36Sopenharmony_ci 562306a36Sopenharmony_ci/* This is a dummy device table linked into all of the crypto 662306a36Sopenharmony_ci * opcode drivers. It serves to trigger the module autoloading 762306a36Sopenharmony_ci * mechanisms in userspace which scan the OF device tree and 862306a36Sopenharmony_ci * load any modules which have device table entries that 962306a36Sopenharmony_ci * match OF device nodes. 1062306a36Sopenharmony_ci */ 1162306a36Sopenharmony_cistatic const struct of_device_id crypto_opcode_match[] = { 1262306a36Sopenharmony_ci { .name = "cpu", .compatible = "sun4v", }, 1362306a36Sopenharmony_ci {}, 1462306a36Sopenharmony_ci}; 1562306a36Sopenharmony_ciMODULE_DEVICE_TABLE(of, crypto_opcode_match); 16