]> err.no Git - linux-2.6/commitdiff
Merge branch 'for-jeff' of git://git.kernel.org/pub/scm/linux/kernel/git/chris/linux...
authorJeff Garzik <jeff@garzik.org>
Thu, 7 Aug 2008 08:05:46 +0000 (04:05 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 7 Aug 2008 08:05:46 +0000 (04:05 -0400)
1  2 
drivers/char/pcmcia/synclink_cs.c
drivers/char/synclink.c
drivers/char/synclink_gt.c
drivers/char/synclinkmp.c
drivers/net/wan/Kconfig
drivers/net/wan/cosa.c

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index f7d3349dc3ec8ffcc35707287e4a3127176d9fd5,e38b7acc52dbe9aad555af53cbc13cf188f4c32b..f14051556c87d08098108f2f695a5bc2c6d35f5a
@@@ -397,12 -387,12 +387,12 @@@ static int __init cosa_init(void
                err = PTR_ERR(cosa_class);
                goto out_chrdev;
        }
 -      for (i=0; i<nr_cards; i++) {
 -              device_create(cosa_class, NULL, MKDEV(cosa_major, i), "cosa%d", i);
 -      }
 +      for (i = 0; i < nr_cards; i++)
 +              device_create_drvdata(cosa_class, NULL, MKDEV(cosa_major, i),
 +                                    NULL, "cosa%d", i);
        err = 0;
        goto out;
-       
  out_chrdev:
        unregister_chrdev(cosa_major, "cosa");
  out: