Skip to content
Snippets Groups Projects
Commit ecee4d06 authored by Mario Limonciello's avatar Mario Limonciello
Browse files

accel/amdxdna: Add MODULE_FIRMWARE() declarations


Initramfs building tools such as dracut will look for a MODULE_FIRMWARE()
declaration to determine which firmware to include in the initramfs
when a driver is included in the initramfs.

As amdxdna doesn't declare any firmware this causes the driver to fail
to load with -ENOENT when in the initramfs.  Add the missing declaration
for possible firmware.

Reported-by: default avatarRenjith Pananchikkal <Renjith.Pananchikkal@amd.com>
Suggested-by: default avatarAlexander Deucher <Alexander.Deucher@amd.com>
Fixes: 8c9ff1b1 ("accel/amdxdna: Add a new driver for AMD AI Engine")
Reviewed-by: default avatarLizhi Hou <lizhi.hou@amd.com>
Link: https://lore.kernel.org/r/20250204174031.3425762-1-superm1@kernel.org


Signed-off-by: default avatarMario Limonciello <mario.limonciello@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250204174031.3425762-1-superm1@kernel.org
parent 6daaae5f
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment