Staging: comedi: fix bus_id use in jr3_pci driver
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 19 Feb 2009 19:24:06 +0000 (11:24 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:53:47 +0000 (14:53 -0700)
bus_id is going away, so don't use it.

Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/jr3_pci.c

index f58b8f1440b2a4e1d946e9402baf2c7b1ac2c37b..3ba05d9c7176d83a1aa0819c556c6202f4d8dbd8 100644 (file)
@@ -56,7 +56,7 @@ static void comedi_fw_release(struct device *dev)
 }
 
 static struct device comedi_fw_device = {
-       .bus_id = "comedi",
+       .init_name = "comedi",
        .release = comedi_fw_release
 };