projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddb9fa2
)
[media] cpia2: Declare MODULE_FIRMWARE usage
author
Tim Gardner
<
[email protected]
>
Fri, 3 Aug 2012 16:39:28 +0000
(13:39 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Sun, 12 Aug 2012 08:49:03 +0000
(
05:49
-0300)
Cc: Mauro Carvalho Chehab <
[email protected]
>
Cc: Hans Verkuil <
[email protected]
>
Cc:
[email protected]
Signed-off-by: Tim Gardner <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/video/cpia2/cpia2_core.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/cpia2/cpia2_core.c
b/drivers/media/video/cpia2/cpia2_core.c
index 17188e234770fa8170502ab25d87959cc9b9c959..187012ce444bd2aef05235335c32e8302b3d3727 100644
(file)
--- a/
drivers/media/video/cpia2/cpia2_core.c
+++ b/
drivers/media/video/cpia2/cpia2_core.c
@@
-31,11
+31,15
@@
#include "cpia2.h"
+#include <linux/module.h>
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/vmalloc.h>
#include <linux/firmware.h>
+#define FIRMWARE "cpia2/stv0672_vp4.bin"
+MODULE_FIRMWARE(FIRMWARE);
+
/* #define _CPIA2_DEBUG_ */
#ifdef _CPIA2_DEBUG_
@@
-898,7
+902,7
@@
static int cpia2_send_onebyte_command(struct camera_data *cam,
static int apply_vp_patch(struct camera_data *cam)
{
const struct firmware *fw;
- const char fw_name[] =
"cpia2/stv0672_vp4.bin"
;
+ const char fw_name[] =
FIRMWARE
;
int i, ret;
struct cpia2_command cmd;