aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/cpia2/cpia2_core.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/media/video/cpia2/cpia2_core.c b/drivers/media/video/cpia2/cpia2_core.c
index 17188e234770..187012ce444b 100644
--- a/drivers/media/video/cpia2/cpia2_core.c
+++ b/drivers/media/video/cpia2/cpia2_core.c
@@ -31,11 +31,15 @@
31 31
32#include "cpia2.h" 32#include "cpia2.h"
33 33
34#include <linux/module.h>
34#include <linux/slab.h> 35#include <linux/slab.h>
35#include <linux/mm.h> 36#include <linux/mm.h>
36#include <linux/vmalloc.h> 37#include <linux/vmalloc.h>
37#include <linux/firmware.h> 38#include <linux/firmware.h>
38 39
40#define FIRMWARE "cpia2/stv0672_vp4.bin"
41MODULE_FIRMWARE(FIRMWARE);
42
39/* #define _CPIA2_DEBUG_ */ 43/* #define _CPIA2_DEBUG_ */
40 44
41#ifdef _CPIA2_DEBUG_ 45#ifdef _CPIA2_DEBUG_
@@ -898,7 +902,7 @@ static int cpia2_send_onebyte_command(struct camera_data *cam,
898static int apply_vp_patch(struct camera_data *cam) 902static int apply_vp_patch(struct camera_data *cam)
899{ 903{
900 const struct firmware *fw; 904 const struct firmware *fw;
901 const char fw_name[] = "cpia2/stv0672_vp4.bin"; 905 const char fw_name[] = FIRMWARE;
902 int i, ret; 906 int i, ret;
903 struct cpia2_command cmd; 907 struct cpia2_command cmd;
904 908