diff options
author | Hoang-Nam Nguyen <hnguyen@de.ibm.com> | 2006-10-02 14:52:17 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-10-02 14:52:17 -0700 |
commit | 0f248d9cde673a481eb3182909b54d07e9d58f72 (patch) | |
tree | 9e6dd929c0b3ccee9be45c554a596a8370c83318 /drivers/infiniband/hw/ehca/ehca_tools.h | |
parent | 13b18c86176cab34ef30ef0a5962fcb0305f7269 (diff) |
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 <hnguyen@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ehca/ehca_tools.h')
0 files changed, 0 insertions, 0 deletions