]> err.no Git - linux-2.6/commit
[PATCH] mxser: PCI refcounts
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Fri, 8 Dec 2006 10:38:10 +0000 (02:38 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:52 +0000 (08:28 -0800)
commit1187ece3db310cb1e7cd75083dc7253dbac39675
tree39e38874d09fcddc41931804c12c58e124bc06d0
parentae25f8ecdf65cd3e79e077dc0dba46416134d00c
[PATCH] mxser: PCI refcounts

Switch to pci ref counts for mxser when handling PCI devices.  Use
pci_get_device and drop the reference when we finish and unload.

Signed-off-by: Alan Cox <alan@redhat.com>
Cc: Greg KH <greg@kroah.com>
Cc: <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/mxser.c