summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMichael Krufky <devnull@localhost>2005-11-13 07:33:19 +0000
committerMichael Krufky <devnull@localhost>2005-11-13 07:33:19 +0000
commit468aa8d263c03e56f2623d5b097a6861bdd89041 (patch)
treeb8efeedf3f55936b99602eaadf21a9db7df36ca6 /linux
parent6c7320939f90505127c94a211da00725f4bfd3d1 (diff)
downloadmediapointer-dvb-s2-468aa8d263c03e56f2623d5b097a6861bdd89041.tar.gz
mediapointer-dvb-s2-468aa8d263c03e56f2623d5b097a6861bdd89041.tar.bz2
[PATCH] Driver Core: fix up all callers of class_device_create()
The previous patch adding the ability to nest struct class_device changed the paramaters to the call class_device_create(). This patch fixes up all in-kernel users of the function. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Michael Krufky <mkrufky@m1k.net> This patch is already present in kernel 2.6.15-rc1
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvbdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvbdev.c b/linux/drivers/media/dvb/dvb-core/dvbdev.c
index 4b7adca3e..477b4fa56 100644
--- a/linux/drivers/media/dvb/dvb-core/dvbdev.c
+++ b/linux/drivers/media/dvb/dvb-core/dvbdev.c
@@ -235,7 +235,7 @@ int dvb_register_device(struct dvb_adapter *adap, struct dvb_device **pdvbdev,
S_IFCHR | S_IRUSR | S_IWUSR,
"dvb/adapter%d/%s%d", adap->num, dnames[type], id);
- class_device_create(dvb_class, MKDEV(DVB_MAJOR, nums2minor(adap->num, type, id)),
+ class_device_create(dvb_class, NULL, MKDEV(DVB_MAJOR, nums2minor(adap->num, type, id)),
NULL, "dvb%d.%s%d", adap->num, dnames[type], id);
dprintk("DVB: register adapter%d/%s%d @ minor: %i (0x%02x)\n",