aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@kernellabs.com>2009-12-20 21:29:02 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-02-26 13:10:44 -0500
commitf8bd9d26c59d0df0335bf43191feb732f2c8b6ad (patch)
tree341cc91a207b8524fa32234f35f91c8b2dc91079 /drivers/media/video/cx18
parent780edb7ad60e5c657770f510747cc609c84b5b61 (diff)
V4L/DVB: cx18: codingstyle fixes
Codingstyle fixes, some introduced as a result of the ALSA work, some pre-existing. This patch is a whitespace change only. This work was sponsored by ONELAN Limited. Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx18')
-rw-r--r--drivers/media/video/cx18/cx18-driver.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/media/video/cx18/cx18-driver.c b/drivers/media/video/cx18/cx18-driver.c
index 870c43e6e2f9..cbd4f85da76b 100644
--- a/drivers/media/video/cx18/cx18-driver.c
+++ b/drivers/media/video/cx18/cx18-driver.c
@@ -238,7 +238,8 @@ MODULE_PARM_DESC(enc_pcm_bufs,
238 "Number of encoder PCM buffers\n" 238 "Number of encoder PCM buffers\n"
239 "\t\t\tDefault is computed from other enc_pcm_* parameters"); 239 "\t\t\tDefault is computed from other enc_pcm_* parameters");
240 240
241MODULE_PARM_DESC(cx18_first_minor, "Set device node number assigned to first card"); 241MODULE_PARM_DESC(cx18_first_minor,
242 "Set device node number assigned to first card");
242 243
243MODULE_AUTHOR("Hans Verkuil"); 244MODULE_AUTHOR("Hans Verkuil");
244MODULE_DESCRIPTION("CX23418 driver"); 245MODULE_DESCRIPTION("CX23418 driver");
@@ -1252,7 +1253,7 @@ static void cx18_remove(struct pci_dev *pci_dev)
1252#if defined(CONFIG_MODULES) && defined(MODULE) 1253#if defined(CONFIG_MODULES) && defined(MODULE)
1253static void request_module_async(struct work_struct *work) 1254static void request_module_async(struct work_struct *work)
1254{ 1255{
1255 struct cx18 *dev=container_of(work, struct cx18, request_module_wk); 1256 struct cx18 *dev = container_of(work, struct cx18, request_module_wk);
1256 1257
1257 /* Make sure cx18-alsa module is loaded */ 1258 /* Make sure cx18-alsa module is loaded */
1258 request_module("cx18-alsa"); 1259 request_module("cx18-alsa");
@@ -1281,7 +1282,8 @@ static struct pci_driver cx18_pci_driver = {
1281 1282
1282static int __init module_start(void) 1283static int __init module_start(void)
1283{ 1284{
1284 printk(KERN_INFO "cx18: Start initialization, version %s\n", CX18_VERSION); 1285 printk(KERN_INFO "cx18: Start initialization, version %s\n",
1286 CX18_VERSION);
1285 1287
1286 /* Validate parameters */ 1288 /* Validate parameters */
1287 if (cx18_first_minor < 0 || cx18_first_minor >= CX18_MAX_CARDS) { 1289 if (cx18_first_minor < 0 || cx18_first_minor >= CX18_MAX_CARDS) {