xref: /openbmc/linux/arch/sparc/crypto/crop_devid.c (revision 263291fa)
1b2441318SGreg Kroah-Hartman // SPDX-License-Identifier: GPL-2.0
2*263291faSRob Herring #include <linux/mod_devicetable.h>
3979e93caSDavid S. Miller #include <linux/module.h>
4979e93caSDavid S. Miller 
5979e93caSDavid S. Miller /* This is a dummy device table linked into all of the crypto
6979e93caSDavid S. Miller  * opcode drivers.  It serves to trigger the module autoloading
7979e93caSDavid S. Miller  * mechanisms in userspace which scan the OF device tree and
8979e93caSDavid S. Miller  * load any modules which have device table entries that
9979e93caSDavid S. Miller  * match OF device nodes.
10979e93caSDavid S. Miller  */
11979e93caSDavid S. Miller static const struct of_device_id crypto_opcode_match[] = {
12979e93caSDavid S. Miller 	{ .name = "cpu", .compatible = "sun4v", },
13979e93caSDavid S. Miller 	{},
14979e93caSDavid S. Miller };
15979e93caSDavid S. Miller MODULE_DEVICE_TABLE(of, crypto_opcode_match);
16