From: Hoang-Nam Nguyen Date: Mon, 2 Oct 2006 21:52:17 +0000 (-0700) Subject: IB/ehca: Fix device registration X-Git-Tag: v2.6.19-rc1~369^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f248d9cde673a481eb3182909b54d07e9d58f72;p=pandora-kernel.git IB/ehca: Fix device registration Move the call to ib_register_device() later, since a device should not be registered until it is completely read to be used. This fixes crashes that occur if an upper-layer driver such as IPoIB is loaded before the ehca module. Signed-off-by: Hoang-Nam Nguyen Signed-off-by: Roland Dreier --- Reading git-diff-tree failed