[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:
Tim Gardner 2012-04-12 17:23:21 -03:00 committed by Mauro Carvalho Chehab
parent a020182ad6
commit d74185b40d

View File

@ -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);