sh: add init member to pci_channel data
authorMagnus Damm <damm@igel.co.jp>
Wed, 11 Mar 2009 06:46:14 +0000 (15:46 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 16 Apr 2009 07:00:12 +0000 (16:00 +0900)
This patch adds an init callback to struct pci_channel and makes sure
it is initialized properly. Code is added to call this init function
from pcibios_init(). Return values are adjusted and a warning is is
printed if init fails.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found