pciauto_setup_device bars_num fix
authorEd Swarthout <Ed.Swarthout@freescale.com>
Fri, 27 Jul 2007 06:50:44 +0000 (01:50 -0500)
committerJon Loeliger <jdl@freescale.com>
Fri, 10 Aug 2007 16:09:00 +0000 (11:09 -0500)
commit936b3e69b667c3eb9a61ece4e78647d3fce9fc2a
tree03a0c6df622782501fcca248ce79b8d68cdf4d70
parentcf0b185e58ca0aec8ae2b2a8804ec0ef58ee21d4
pciauto_setup_device bars_num fix

Passing bars_num=0 to pciauto_setup_device should assign no bars.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Acked-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Acked-by: Andy Fleming <afleming@freescale.com>
drivers/pci_auto.c