diff options
Diffstat (limited to 'drivers/media/video/gspca/spca508.c')
-rw-r--r-- | drivers/media/video/gspca/spca508.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/spca508.c b/drivers/media/video/gspca/spca508.c index 9d0b46027b93..a44fe3d25965 100644 --- a/drivers/media/video/gspca/spca508.c +++ b/drivers/media/video/gspca/spca508.c | |||
@@ -18,6 +18,8 @@ | |||
18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
19 | */ | 19 | */ |
20 | 20 | ||
21 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||
22 | |||
21 | #define MODULE_NAME "spca508" | 23 | #define MODULE_NAME "spca508" |
22 | 24 | ||
23 | #include "gspca.h" | 25 | #include "gspca.h" |
@@ -1275,7 +1277,7 @@ static int reg_write(struct usb_device *dev, | |||
1275 | PDEBUG(D_USBO, "reg write i:0x%04x = 0x%02x", | 1277 | PDEBUG(D_USBO, "reg write i:0x%04x = 0x%02x", |
1276 | index, value); | 1278 | index, value); |
1277 | if (ret < 0) | 1279 | if (ret < 0) |
1278 | err("reg write: error %d", ret); | 1280 | pr_err("reg write: error %d\n", ret); |
1279 | return ret; | 1281 | return ret; |
1280 | } | 1282 | } |
1281 | 1283 | ||
@@ -1297,7 +1299,7 @@ static int reg_read(struct gspca_dev *gspca_dev, | |||
1297 | PDEBUG(D_USBI, "reg read i:%04x --> %02x", | 1299 | PDEBUG(D_USBI, "reg read i:%04x --> %02x", |
1298 | index, gspca_dev->usb_buf[0]); | 1300 | index, gspca_dev->usb_buf[0]); |
1299 | if (ret < 0) { | 1301 | if (ret < 0) { |
1300 | err("reg_read err %d", ret); | 1302 | pr_err("reg_read err %d\n", ret); |
1301 | return ret; | 1303 | return ret; |
1302 | } | 1304 | } |
1303 | return gspca_dev->usb_buf[0]; | 1305 | return gspca_dev->usb_buf[0]; |