patch-2.4.5 linux/drivers/media/radio/radio-miropcm20.c
Next file: linux/drivers/media/radio/radio-rtrack2.c
Previous file: linux/drivers/media/radio/radio-maxiradio.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sat May 19 17:43:06 2001
- Orig file:
v2.4.4/linux/drivers/media/radio/radio-miropcm20.c
- Orig date:
Fri Apr 13 20:26:07 2001
diff -u --recursive --new-file v2.4.4/linux/drivers/media/radio/radio-miropcm20.c linux/drivers/media/radio/radio-miropcm20.c
@@ -30,6 +30,8 @@
#include "../../sound/aci.h"
static int users = 0;
+static int radio_nr = -1;
+MODULE_PARM(radio_nr, "i");
struct pcm20_device
{
@@ -258,7 +260,7 @@
static int __init pcm20_init(void)
{
- if(video_register_device(&pcm20_radio, VFL_TYPE_RADIO)==-1)
+ if(video_register_device(&pcm20_radio, VFL_TYPE_RADIO, radio_nr)==-1)
return -EINVAL;
if(attach_aci_rds()<0) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)