mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-08-09 06:14:34 +02:00
Replace the #include of <linux/mod_devicetable.h> by the more specific <linux/device-id/*.h> where applicable. For most cases the include can be dropped completely, only a few drivers need one or two headers added. Acked-by: Danilo Krummrich <dakr@kernel.org> Acked-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://patch.msgid.link/1a3f2007c5c5dcf555c09a4035ce3ae8ef1b6c49.1782808461.git.u.kleine-koenig@baylibre.com Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
16 lines
526 B
C
16 lines
526 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#include <linux/device-id/of.h>
|
|
#include <linux/module.h>
|
|
|
|
/* This is a dummy device table linked into all of the crypto
|
|
* opcode drivers. It serves to trigger the module autoloading
|
|
* mechanisms in userspace which scan the OF device tree and
|
|
* load any modules which have device table entries that
|
|
* match OF device nodes.
|
|
*/
|
|
static const struct of_device_id crypto_opcode_match[] = {
|
|
{ .name = "cpu", .compatible = "sun4v", },
|
|
{},
|
|
};
|
|
MODULE_DEVICE_TABLE(of, crypto_opcode_match);
|