aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/m5602/m5602_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/gspca/m5602/m5602_core.c')
-rw-r--r--drivers/media/video/gspca/m5602/m5602_core.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_core.c b/drivers/media/video/gspca/m5602/m5602_core.c
index a7722b1aef9..67533e5582a 100644
--- a/drivers/media/video/gspca/m5602/m5602_core.c
+++ b/drivers/media/video/gspca/m5602/m5602_core.c
@@ -16,6 +16,8 @@
16 * 16 *
17 */ 17 */
18 18
19#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
20
19#include "m5602_ov9650.h" 21#include "m5602_ov9650.h"
20#include "m5602_ov7660.h" 22#include "m5602_ov7660.h"
21#include "m5602_mt9m111.h" 23#include "m5602_mt9m111.h"
@@ -192,10 +194,9 @@ static void m5602_dump_bridge(struct sd *sd)
192 for (i = 0; i < 0x80; i++) { 194 for (i = 0; i < 0x80; i++) {
193 unsigned char val = 0; 195 unsigned char val = 0;
194 m5602_read_bridge(sd, i, &val); 196 m5602_read_bridge(sd, i, &val);
195 info("ALi m5602 address 0x%x contains 0x%x", i, val); 197 pr_info("ALi m5602 address 0x%x contains 0x%x\n", i, val);
196 } 198 }
197 info("Warning: The ALi m5602 webcam probably won't work " 199 pr_info("Warning: The ALi m5602 webcam probably won't work until it's power cycled\n");
198 "until it's power cycled");
199} 200}
200 201
201static int m5602_probe_sensor(struct sd *sd) 202static int m5602_probe_sensor(struct sd *sd)
@@ -231,7 +232,7 @@ static int m5602_probe_sensor(struct sd *sd)
231 return 0; 232 return 0;
232 233
233 /* More sensor probe function goes here */ 234 /* More sensor probe function goes here */
234 info("Failed to find a sensor"); 235 pr_info("Failed to find a sensor\n");
235 sd->sensor = NULL; 236 sd->sensor = NULL;
236 return -ENODEV; 237 return -ENODEV;
237} 238}