infiniband: make cm_device use a struct device and not a kobject.
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 27 May 2008 07:17:53 +0000 (10:17 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 22 Jul 2008 04:54:49 +0000 (21:54 -0700)
commit110cf374a809817d5c080c0ac82d65d029820a66
treea6e96382a00597c7a4dc6d83351680a11eb4254f
parentd4c4196f24ade5f336882587480652efde2c739c
infiniband: make cm_device use a struct device and not a kobject.

This object really should be a struct device, or at least contain a
pointer to a struct device, as it is trying to create a separate device
tree outside of the main device tree.  This patch fixes this problem.

It is needed for the class core rework that is being done in the driver
core.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Roland Dreier <rolandd@cisco.com>
Cc: Sean Hefty <sean.hefty@intel.com>
Cc: Hal Rosenstock <hal.rosenstock@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/infiniband/core/cm.c