From: Magnus Damm Date: Wed, 11 Mar 2009 06:46:14 +0000 (+0900) Subject: sh: add init member to pci_channel data X-Git-Tag: v2.6.31-rc1~392^2~41^2~124^3~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0e3db40e2a1352aa2a2f425a7d4631bddc03d51;p=pandora-kernel.git sh: add init member to pci_channel data 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 Signed-off-by: Paul Mundt --- Reading git-diff-tree failed