mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 02:40:54 +07:00
[media] video: vicam: Add MODULE_FIRMWARE
Signed-off-by: Tim Gardner <tim.gardner@canonical.com> Cc: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
a020182ad6
commit
d74185b40d
@ -37,9 +37,12 @@
|
||||
#include <linux/ihex.h>
|
||||
#include "gspca.h"
|
||||
|
||||
#define VICAM_FIRMWARE "vicam/firmware.fw"
|
||||
|
||||
MODULE_AUTHOR("Hans de Goede <hdegoede@redhat.com>");
|
||||
MODULE_DESCRIPTION("GSPCA ViCam USB Camera Driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_FIRMWARE(VICAM_FIRMWARE);
|
||||
|
||||
enum e_ctrl {
|
||||
GAIN,
|
||||
@ -268,7 +271,7 @@ static int sd_init(struct gspca_dev *gspca_dev)
|
||||
const struct firmware *uninitialized_var(fw);
|
||||
u8 *firmware_buf;
|
||||
|
||||
ret = request_ihex_firmware(&fw, "vicam/firmware.fw",
|
||||
ret = request_ihex_firmware(&fw, VICAM_FIRMWARE,
|
||||
&gspca_dev->dev->dev);
|
||||
if (ret) {
|
||||
pr_err("Failed to load \"vicam/firmware.fw\": %d\n", ret);
|
||||
|
Loading…
Reference in New Issue
Block a user