]> err.no Git - linux-2.6/commit
[Cardman 40x0] Fix udev device creation
authorHarald Welte <laforge@gnumonks.org>
Wed, 10 May 2006 11:28:52 +0000 (13:28 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 10 May 2006 20:46:02 +0000 (13:46 -0700)
commit7fc5b1e3a170d865f625e609c087cf8d84fd285d
tree265b9811591ab24a59784a21598b7d9070480b26
parent3cd73eedde34c5fd88d62d8523c4260970fdc6fb
[Cardman 40x0] Fix udev device creation

This patch corrects the order of the calls to register_chrdev() and
pcmcia_register_driver().  Now udev correctly creates userspace device
files /dev/cmmN and /dev/cmxN respectively.

Based on an earlier patch by Jan Niehusmann <jan@gondor.com>.

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/pcmcia/cm4000_cs.c
drivers/char/pcmcia/cm4040_cs.c