![]() Strlcpy(cap->bus_info, dev->v4l2_dev.name, sizeof(cap->bus_info)) Ĭap->capabilities = V4L2_CAP_VIDEO_CAPTURE |ĭiff -git a/drivers/media/video/bt8xx/bttv-driver.c b/drivers/media/video/bt8xx/bttv-driver.c index a97cf27.696e978 100644 - a/drivers/media/video/bt8xx/bttv-driver.c +++ b/drivers/media/video/bt8xx/bttv-driver.c -57,6 +57,7 Strlcpy(cap->card, dev->board.name, sizeof(cap->card)) Videobuf -1254,8 +1251,6 static int vidioc_querycap(struct file *file, void *priv, #define AU0828_VERSION_CODE KERNEL_VERSION(0, 0, 1). MODULE_DESCRIPTION("Driver for Auvitek AU0828 based products") MODULE_DESCRIPTION("Colour AR M64278(VGA) for Video4Linux") Vcap->capabilities = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_READWRITE vcap->version = KERNEL_VERSION(0, 0, 4) Strlcpy(vcap->bus_info, "Platform", sizeof(vcap->bus_info)) Strlcpy(vcap->card, "Colour AR VGA", sizeof(vcap->card)) ![]() Strlcpy(vcap->driver, ar->vdev.name, sizeof(vcap->driver)) #define ar_outl(val, addr) outl((unsigned long)(val), (unsigned -404,7 +403,6 static int ar_querycap(struct file *file, void *priv, #define ar_inl(addr) inl((unsigned long)(addr)) While here, removed a few uneeded include linux/version.hĭiff -git a/drivers/media/video/arv.c b/drivers/media/video/arv.c index f989f28.b6ed44a 100644 - a/drivers/media/video/arv.c +++ b/drivers/media/video/arv.c -27,7 +27,6 Yet, I think that the better for them would be to just use theĭefault version numbering, instead of doing that by themselves. The rationale is that the per-driver version control seems to be So, we can't do such change on them, otherwise, they'll break. Pwc, pvrusb2, s2255, s5p-fimc and sh_vou.Ī few drivers are still using the legacy way to handle ioctl's. I opted to preserve the per-driver version control to a fewĭrivers: cx18, davinci, fsl-viu, gspca, ivtv, m5mols, soc_camera, KERNEL_VERSION() macro were added to all modified drivers, and In order to preserve the Kernel module version history, a Release, we don't need to maintain a per-driver version control Several of them didn't have any version incrementįor a long time, even having new features and important bug fixesĪs we're now filling the QUERYCAP version with the current Kernel UTCĪll the modified drivers didn't have any version increment since Mauro Carvalho Chehab June 26, 2011, 4:06 p.m. ![]() X-Mailing-List: IP, sender and recipient auto-whitelisted, not delayed by To: unlisted-recipients: (no To-header on input) Subject: Stop using linux/version.h on most videoĬontent-Type: text/plain charset=US-ASCII ![]() ![]() (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) ![]()
0 Comments
Leave a Reply. |