All of lore.kernel.org
 help / color / mirror / Atom feed
From: Teun <tk@tkteun.tweak.nl>
To: linux-media@vger.kernel.org
Subject: Error compiling tw68-v2 module (module_param / linux3.2)
Date: Wed, 02 May 2012 16:32:20 +0200	[thread overview]
Message-ID: <4FA14574.5040603@tkteun.tweak.nl> (raw)

I'm having problems compiling the tw68-v2. I looked up the code from the 
error messages, but I don't know anything about making linux driver modules.
I can't find a lot about the module_param function, at least, not why 
this would be wrong.

Can anyone give any comment on this?

Thanks in advance!

Linux tkpc 3.2.0-2-amd64 #1 SMP Sun Mar 4 22:48:17 UTC 2012 x86_64 GNU/Linux

make -C /lib/modules/3.2.0-2-amd64/build M=/mnt/nfs/black/hw/tw68-v2 modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-2-amd64'
CC [M] /mnt/nfs/black/hw/tw68-v2/tw68-video.o
/mnt/nfs/black/hw/tw68-v2/tw68-video.c:42:27: error: expected ‘)’ before 
‘int’
/mnt/nfs/black/hw/tw68-v2/tw68-video.c:43:31: error: expected ‘)’ before 
string constant
/mnt/nfs/black/hw/tw68-v2/tw68-video.c:44:24: error: expected ‘)’ before 
‘int’
/mnt/nfs/black/hw/tw68-v2/tw68-video.c:45:28: error: expected ‘)’ before 
string constant
/mnt/nfs/black/hw/tw68-v2/tw68-video.c:46:29: error: expected ‘)’ before 
‘int’
/mnt/nfs/black/hw/tw68-v2/tw68-video.c:47:33: error: expected ‘)’ before 
string constant
/mnt/nfs/black/hw/tw68-v2/tw68-video.c:48:35: error: expected ‘)’ before 
‘sizeof’
/mnt/nfs/black/hw/tw68-v2/tw68-video.c:49:25: error: expected ‘)’ before 
string constant


module_param(video_debug, int, 0644);
MODULE_PARM_DESC(video_debug, "enable debug messages [video]");
module_param(gbuffers, int, 0444);
MODULE_PARM_DESC(gbuffers, "number of capture buffers, range 2-32");
module_param(noninterlaced, int, 0644);
MODULE_PARM_DESC(noninterlaced, "capture non interlaced video");
module_param_string(secam, secam, sizeof(secam), 0644);
MODULE_PARM_DESC(secam, "force SECAM variant, either DK,L or Lc");


             reply	other threads:[~2012-05-02 14:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-02 14:32 Teun [this message]
2012-05-03 15:56 ` Error compiling tw68-v2 module (module_param / linux3.2) Domenico Andreoli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FA14574.5040603@tkteun.tweak.nl \
    --to=tk@tkteun.tweak.nl \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.