Commit 229fd7d2 authored by Tim Gardner's avatar Tim Gardner Committed by Mauro Carvalho Chehab

[media] cpia2: Declare MODULE_FIRMWARE usage

Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Hans Verkuil <hans.verkuil@cisco.com>
Cc: linux-media@vger.kernel.org
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent ddb9fa25
...@@ -31,11 +31,15 @@ ...@@ -31,11 +31,15 @@
#include "cpia2.h" #include "cpia2.h"
#include <linux/module.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include <linux/firmware.h> #include <linux/firmware.h>
#define FIRMWARE "cpia2/stv0672_vp4.bin"
MODULE_FIRMWARE(FIRMWARE);
/* #define _CPIA2_DEBUG_ */ /* #define _CPIA2_DEBUG_ */
#ifdef _CPIA2_DEBUG_ #ifdef _CPIA2_DEBUG_
...@@ -898,7 +902,7 @@ static int cpia2_send_onebyte_command(struct camera_data *cam, ...@@ -898,7 +902,7 @@ static int cpia2_send_onebyte_command(struct camera_data *cam,
static int apply_vp_patch(struct camera_data *cam) static int apply_vp_patch(struct camera_data *cam)
{ {
const struct firmware *fw; const struct firmware *fw;
const char fw_name[] = "cpia2/stv0672_vp4.bin"; const char fw_name[] = FIRMWARE;
int i, ret; int i, ret;
struct cpia2_command cmd; struct cpia2_command cmd;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment