]> git.hungrycats.org Git - linux/commit
[PATCH] Remove stack allocation of struct pci_dev
authorRussell King <rmk@arm.linux.org.uk>
Sun, 23 Feb 2003 02:48:08 +0000 (18:48 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sun, 23 Feb 2003 02:48:08 +0000 (18:48 -0800)
commitae43a7137c7125f822b705dc278f78e434225ba1
treed7965a01bc6d3e590b5666401191579adaa2ad9d
parent3b88f1f794c5d357ccef1cac87845bc5eacbb6fa
[PATCH] Remove stack allocation of struct pci_dev

cb_alloc() allocated a pci_dev on the stack to access PCI space.  This
is unnecessary since we have pci_bus_*_config_* functions.  Use these
functions instead.
drivers/pcmcia/cardbus.c