Commit 584ce48d authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

V4L/DVB (8024): vivi: rename MODULE_NAME macro to VIVI_MODULE_NAME to avoid namespace conflicts

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 745271ae
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
#include <linux/highmem.h> #include <linux/highmem.h>
#include <linux/freezer.h> #include <linux/freezer.h>
#define MODULE_NAME "vivi" #define VIVI_MODULE_NAME "vivi"
/* Wake up at about 30 fps */ /* Wake up at about 30 fps */
#define WAKE_NUMERATOR 30 #define WAKE_NUMERATOR 30
...@@ -1022,11 +1022,11 @@ static int vivi_release(void) ...@@ -1022,11 +1022,11 @@ static int vivi_release(void)
if (-1 != dev->vfd->minor) { if (-1 != dev->vfd->minor) {
video_unregister_device(dev->vfd); video_unregister_device(dev->vfd);
printk(KERN_INFO "%s: /dev/video%d unregistered.\n", printk(KERN_INFO "%s: /dev/video%d unregistered.\n",
MODULE_NAME, dev->vfd->minor); VIVI_MODULE_NAME, dev->vfd->minor);
} else { } else {
video_device_release(dev->vfd); video_device_release(dev->vfd);
printk(KERN_INFO "%s: /dev/video%d released.\n", printk(KERN_INFO "%s: /dev/video%d released.\n",
MODULE_NAME, dev->vfd->minor); VIVI_MODULE_NAME, dev->vfd->minor);
} }
kfree(dev); kfree(dev);
...@@ -1139,7 +1139,7 @@ static int __init vivi_init(void) ...@@ -1139,7 +1139,7 @@ static int __init vivi_init(void)
dev->vfd = vfd; dev->vfd = vfd;
printk(KERN_INFO "%s: V4L2 device registered as /dev/video%d\n", printk(KERN_INFO "%s: V4L2 device registered as /dev/video%d\n",
MODULE_NAME, vfd->minor); VIVI_MODULE_NAME, vfd->minor);
} }
if (ret < 0) { if (ret < 0) {
......
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